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.0008199/0.0008199, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007929/0.0007929, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9453/0.9453, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7382/0.7382, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.676e-05, allocations: 6.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00221/0.002226, allocations: 1.388 MB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.005041, allocations: 2.751 MB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.005091, allocations: 3.938 kB / 0.6221 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.531e-05/0.005176, allocations: 3.984 kB / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.005298, allocations: 39.75 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.005994, allocations: 198.9 kB / 0.6223 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.006262, allocations: 247.5 kB / 0.6225 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.006313, allocations: 7.984 kB / 0.6226 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.00642, allocations: 115.8 kB / 0.6227 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.006538, allocations: 119.7 kB / 0.6228 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.006562, allocations: 8 kB / 0.6228 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.006906, allocations: 155.6 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.006997, allocations: 95.77 kB / 0.623 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.007065, allocations: 67.89 kB / 0.6231 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.007353, allocations: 303.2 kB / 0.6234 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007355, allocations: 0 / 0.6234 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007355, allocations: 0 / 0.6234 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.00736, allocations: 0 / 0.6234 GB, free: 8.219 MB / 0.5886 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.0005675/0.007927, allocations: 469.2 kB / 0.6238 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.007965, allocations: 9.469 kB / 0.6238 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.008011, allocations: 58.67 kB / 0.6239 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.0081, allocations: 16.84 kB / 0.6239 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.008295, allocations: 189.5 kB / 0.6241 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.008333, allocations: 24.36 kB / 0.6241 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.008352, allocations: 12.38 kB / 0.6241 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.008742, allocations: 283.9 kB / 0.6244 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008753, allocations: 8.172 kB / 0.6244 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008771, allocations: 11.94 kB / 0.6244 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.008778, allocations: 4 kB / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.009606, allocations: 0.7256 MB / 0.6251 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.009893, allocations: 260.5 kB / 0.6254 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.01122, allocations: 0.6335 MB / 0.626 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.01153, allocations: 212.7 kB / 0.6262 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.01178, allocations: 83.94 kB / 0.6263 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.01181, allocations: 34.56 kB / 0.6263 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.01182, allocations: 3.938 kB / 0.6263 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.001008/0.01282, allocations: 0.6648 MB / 0.627 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.01286, allocations: 55.41 kB / 0.627 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.01294, allocations: 129.7 kB / 0.6271 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.01296, allocations: 29.7 kB / 0.6272 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.013, allocations: 92.8 kB / 0.6273 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.01308, allocations: 130.8 kB / 0.6274 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.01315, allocations: 65.67 kB / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01325, allocations: 326.8 kB / 0.6278 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.01353, allocations: 199.8 kB / 0.6279 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.0138, allocations: 197 kB / 0.6281 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.0143, allocations: 368.7 kB / 0.6285 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.0143, allocations: 0 / 0.6285 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006182/0.01492, allocations: 460.6 kB / 0.6289 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01494, allocations: 10.03 kB / 0.6289 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.01494, allocations: 3.938 kB / 0.6289 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.01496, allocations: 0 / 0.6289 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.01516, allocations: 99.84 kB / 0.629 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01516, allocations: 4 kB / 0.629 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.01526, allocations: 47.84 kB / 0.6291 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.01527, allocations: 15.94 kB / 0.6291 GB, free: 2.172 MB / 0.5886 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 9.928e-05/0.01537, allocations: 142.7 kB / 0.6292 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.0154, allocations: 15.91 kB / 0.6292 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/0.01612, allocations: 0.5192 MB / 0.6298 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.01612, allocations: 4 kB / 0.6298 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01613, allocations: 0 / 0.6298 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01613, allocations: 3.984 kB / 0.6298 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.01636, allocations: 272.5 kB / 0.63 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01636, allocations: 0 / 0.63 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01654, allocations: 95.86 kB / 0.6301 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01655, allocations: 4 kB / 0.6301 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01657, allocations: 19.92 kB / 0.6301 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01657, allocations: 0 / 0.6301 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01657, allocations: 0 / 0.6301 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.01722, allocations: 0.4923 MB / 0.6306 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.01725, allocations: 27.73 kB / 0.6306 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.01727, allocations: 7.938 kB / 0.6306 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.01736, allocations: 43.95 kB / 0.6307 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.01753, allocations: 119.8 kB / 0.6308 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01755, allocations: 8 kB / 0.6308 GB, free: 348 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.0176, allocations: 103.2 kB / 0.6309 GB, free: 244 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0176, allocations: 4 kB / 0.6309 GB, free: 240 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002852/0.01789, allocations: 115.8 kB / 0.631 GB, free: 124 kB / 0.5886 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.001008/0.0189, allocations: 1.112 MB / 0.6321 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006288/0.01952, allocations: 463.1 kB / 0.6326 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01953, allocations: 4 kB / 0.6326 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.01982, allocations: 244.6 kB / 0.6328 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.02008, allocations: 74.33 kB / 0.6329 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.02286, allocations: 2.682 MB / 0.6355 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.328e-05/0.02294, allocations: 118.6 kB / 0.6356 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002739/0.02322, allocations: 183.3 kB / 0.6358 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.02332, allocations: 68.44 kB / 0.6358 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/0.02332, allocations: 0 / 0.6358 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.04583, allocations: 8.523 MB / 0.6442 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.607, allocations: 9.594 kB / 0.6442 GB, free: 2.824 MB / 0.6042 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.541354856453836] Failed to read output from testmodel.py, exit status != 0: 7.689499923028052 7.699913129 7.690489153 Calling exit ...