Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 207.1 kB / 22.24 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9971/0.9971, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8043/0.8043, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009191/0.0009191, allocations: 71.34 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5422, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001285/0.5435, allocations: 0.5392 MB / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.53e-05/0.5436, allocations: 7.938 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.5436, allocations: 2.344 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.5436, allocations: 0.75 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.5436, allocations: 0 / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.591e-05/0.5437, allocations: 0 / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.5437, allocations: 4.656 kB / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.5438, allocations: 7.5 kB / 0.8179 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.5438, allocations: 4 kB / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.812e-05/0.5438, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.5438, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.5438, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.5438, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.5438, allocations: 6.734 kB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.722e-05/0.5439, allocations: 5.219 kB / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5439, allocations: 0 / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5439, allocations: 0 / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5439, allocations: 3.938 kB / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000195/0.5441, allocations: 243.6 kB / 0.8182 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5441, allocations: 10.16 kB / 0.8182 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.281e-05/0.5442, allocations: 33.45 kB / 0.8182 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.474e-05/0.5442, allocations: 0.9375 kB / 0.8182 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.306e-05/0.5442, allocations: 109.5 kB / 0.8183 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.5442, allocations: 384 / 0.8183 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.5443, allocations: 1.031 kB / 0.8183 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.73e-05/0.5443, allocations: 33.19 kB / 0.8184 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5443, allocations: 3.938 kB / 0.8184 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.5443, allocations: 0 / 0.8184 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5443, allocations: 0.9688 kB / 0.8184 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.252e-05/0.5444, allocations: 6.25 kB / 0.8184 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.5445, allocations: 358.9 kB / 0.8187 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.5446, allocations: 169.6 kB / 0.8189 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.5446, allocations: 80.14 kB / 0.819 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.5447, allocations: 79.16 kB / 0.819 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.5447, allocations: 105.8 kB / 0.8191 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5447, allocations: 1.031 kB / 0.8191 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.03e-05/0.5448, allocations: 37.08 kB / 0.8192 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.5448, allocations: 127.9 kB / 0.8193 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.5449, allocations: 93.34 kB / 0.8194 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.5449, allocations: 29.83 kB / 0.8194 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.5449, allocations: 80.14 kB / 0.8195 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.5449, allocations: 2.219 kB / 0.8195 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.5449, allocations: 13.66 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.545, allocations: 318.1 kB / 0.8198 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.545, allocations: 0 / 0.8198 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.545, allocations: 0 / 0.8198 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/0.545, allocations: 75.28 kB / 0.8199 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.5451, allocations: 79.88 kB / 0.82 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.894e-05/0.5451, allocations: 38.08 kB / 0.82 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5451, allocations: 80.31 kB / 0.8201 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.5452, allocations: 82.28 kB / 0.8202 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/0.5452, allocations: 155 kB / 0.8203 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.827e-05/0.5452, allocations: 79.88 kB / 0.8204 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/0.5452, allocations: 157.5 kB / 0.8205 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.5453, allocations: 83.92 kB / 0.8206 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5453, allocations: 81.42 kB / 0.8207 GB, free: 13.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.5454, allocations: 262.9 kB / 0.8209 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.5454, allocations: 102.4 kB / 0.821 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.5455, allocations: 114.9 kB / 0.8211 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/0.5455, allocations: 178.2 kB / 0.8213 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.677e-05/0.5456, allocations: 189.9 kB / 0.8215 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-05/0.5456, allocations: 178.8 kB / 0.8217 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.5458, allocations: 373.2 kB / 0.822 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.5458, allocations: 109.1 kB / 0.8221 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.5458, allocations: 105.5 kB / 0.8222 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.994e-05/0.5459, allocations: 180.8 kB / 0.8224 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.5459, allocations: 183.3 kB / 0.8226 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000103/0.546, allocations: 177.1 kB / 0.8227 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.915e-05/0.5461, allocations: 183.3 kB / 0.8229 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.7e-05/0.5462, allocations: 311.8 kB / 0.8232 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.5462, allocations: 106.2 kB / 0.8233 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.5462, allocations: 180.1 kB / 0.8235 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.5463, allocations: 109.9 kB / 0.8236 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5463, allocations: 186.4 kB / 0.8238 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.5463, allocations: 108.2 kB / 0.8239 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.5464, allocations: 78.09 kB / 0.8239 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5464, allocations: 0 / 0.8239 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001553/0.5465, allocations: 0 / 0.8239 GB, free: 10.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004061/0.5469, allocations: 0.8062 MB / 0.8247 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.756e-05/0.547, allocations: 9.75 kB / 0.8247 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.547, allocations: 0 / 0.8247 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.547, allocations: 1.875 kB / 0.8247 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.5472, allocations: 459.4 kB / 0.8252 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.5479, allocations: 1.537 MB / 0.8267 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.548, allocations: 53 kB / 0.8267 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.544e-06/0.548, allocations: 0 / 0.8267 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.548, allocations: 7.438 kB / 0.8267 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.548, allocations: 1.469 kB / 0.8267 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.5647, allocations: 1.418 MB / 0.8281 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/7.027, allocations: 6.203 kB / 0.8281 GB, free: 6.715 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.120718387886882] Failed to read output from testmodel.py, exit status != 0: 7.103165784385055 7.11337249 6.567323403 Calling exit ...