Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001052/0.001052, 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.0008899/0.0008899, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9892/0.9892, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7876/0.7876, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001006/0.001006, allocations: 67.75 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6317, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002092/0.6338, allocations: 1.388 MB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.637, allocations: 2.771 MB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.6371, allocations: 6.062 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.6372, allocations: 7.656 kB / 0.8219 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.6373, allocations: 38.98 kB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.6379, allocations: 198.9 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.6382, allocations: 237.8 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.6382, allocations: 4.25 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.6383, allocations: 96.75 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.6385, allocations: 121.3 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.6385, allocations: 10.94 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.6389, allocations: 147.8 kB / 0.8227 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.639, allocations: 92.19 kB / 0.8228 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.6391, allocations: 81.58 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.6394, allocations: 270.7 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6394, allocations: 6.156 kB / 0.8231 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6394, allocations: 0 / 0.8231 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6394, allocations: 0 / 0.8231 GB, free: 13.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007265/0.6402, allocations: 462.6 kB / 0.8235 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6402, allocations: 10.44 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.6403, allocations: 47.27 kB / 0.8236 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.6404, allocations: 27.78 kB / 0.8236 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.6406, allocations: 183 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.6407, allocations: 23.5 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.6407, allocations: 14 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.6412, allocations: 288.2 kB / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6412, allocations: 0 / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.6413, allocations: 14.03 kB / 0.8241 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.6413, allocations: 7.75 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6425, allocations: 0.726 MB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.6428, allocations: 258.4 kB / 0.8251 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.644, allocations: 0.6333 MB / 0.8257 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.6444, allocations: 218.4 kB / 0.8259 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.6447, allocations: 88.44 kB / 0.826 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6447, allocations: 33.97 kB / 0.826 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.6447, allocations: 3.938 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001331/0.646, allocations: 0.6533 MB / 0.8267 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.646, allocations: 59.14 kB / 0.8267 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6462, allocations: 131.3 kB / 0.8269 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.6462, allocations: 32.69 kB / 0.8269 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.6462, allocations: 89.48 kB / 0.827 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6463, allocations: 130.9 kB / 0.8271 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.6464, allocations: 67.56 kB / 0.8272 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6465, allocations: 328.6 kB / 0.8275 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.6469, allocations: 195.2 kB / 0.8277 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.6473, allocations: 197.3 kB / 0.8278 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.6481, allocations: 362.3 kB / 0.8282 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6481, allocations: 3.938 kB / 0.8282 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001089/0.6492, allocations: 464 kB / 0.8286 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6492, allocations: 9.734 kB / 0.8286 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6492, allocations: 0 / 0.8286 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6492, allocations: 2.625 kB / 0.8286 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.6495, allocations: 93.58 kB / 0.8287 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6495, allocations: 1.219 kB / 0.8287 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.6496, allocations: 53.53 kB / 0.8288 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.6496, allocations: 15.94 kB / 0.8288 GB, free: 11.35 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 (37): * Single equations (assignments): 37 * 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 0.0001147/0.6497, allocations: 141.9 kB / 0.8289 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.6498, allocations: 20.69 kB / 0.829 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.6507, allocations: 0.517 MB / 0.8295 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.6507, allocations: 4.156 kB / 0.8295 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6507, allocations: 0 / 0.8295 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6507, allocations: 3.25 kB / 0.8295 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.651, allocations: 273.3 kB / 0.8297 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.651, allocations: 11.88 kB / 0.8297 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.6512, allocations: 97.97 kB / 0.8298 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6512, allocations: 2.375 kB / 0.8298 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.6513, allocations: 13.73 kB / 0.8299 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6513, allocations: 6.547 kB / 0.8299 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6513, allocations: 3.984 kB / 0.8299 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.6521, allocations: 498.3 kB / 0.8303 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.6521, allocations: 30.44 kB / 0.8304 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.6521, allocations: 7.359 kB / 0.8304 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6522, allocations: 34.25 kB / 0.8304 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.6525, allocations: 122.8 kB / 0.8305 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.6525, allocations: 15.61 kB / 0.8305 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.6525, allocations: 97.09 kB / 0.8306 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6525, allocations: 0 / 0.8306 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003414/0.6529, allocations: 119.4 kB / 0.8307 GB, free: 10.52 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 (37): * Single equations (assignments): 37 * 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.00127/0.6541, allocations: 1.12 MB / 0.8318 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008604/0.655, allocations: 457.9 kB / 0.8323 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.655, allocations: 0 / 0.8323 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.6554, allocations: 243 kB / 0.8325 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.6558, allocations: 83.2 kB / 0.8326 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.6593, allocations: 2.671 MB / 0.8352 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.6594, allocations: 126.2 kB / 0.8353 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003775/0.6598, allocations: 180.5 kB / 0.8355 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.6599, allocations: 65.12 kB / 0.8356 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/0.6599, allocations: 0 / 0.8356 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.6857, allocations: 8.397 MB / 0.8438 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.657, allocations: 8.562 kB / 0.8438 GB, free: 3.758 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.76775188697502] Failed to read output from testmodel.py, exit status != 0: 7.735377796925604 7.745809083 7.103347123 Calling exit ...