Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.0008969/0.0008969, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009105/0.0009105, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9022/0.9022, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7114/0.7114, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.847e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01094/0.01096, allocations: 11.94 MB / 0.6298 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.01268, allocations: 2.418 MB / 0.6321 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.01276, allocations: 4 kB / 0.6321 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.01308, allocations: 47.67 kB / 0.6322 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.01331, allocations: 95.3 kB / 0.6323 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.01415, allocations: 0.5391 MB / 0.6328 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.01434, allocations: 247.8 kB / 0.633 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.01438, allocations: 5.812 kB / 0.633 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.01968, allocations: 3.633 MB / 0.6366 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.0198, allocations: 87.69 kB / 0.6367 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.01983, allocations: 8 kB / 0.6367 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.02147, allocations: 1.044 MB / 0.6377 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.02155, allocations: 43.81 kB / 0.6377 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.02161, allocations: 59.78 kB / 0.6378 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.02207, allocations: 386.8 kB / 0.6382 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.02207, allocations: 4 kB / 0.6382 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.02207, allocations: 0 / 0.6382 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.02208, allocations: 0 / 0.6382 GB, free: 9.102 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006182/0.0227, allocations: 441.4 kB / 0.6386 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.02274, allocations: 9.469 kB / 0.6386 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.02278, allocations: 54.73 kB / 0.6386 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.02288, allocations: 24.84 kB / 0.6387 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.02312, allocations: 165.5 kB / 0.6388 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.02313, allocations: 8.703 kB / 0.6388 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.02315, allocations: 20.36 kB / 0.6389 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.02352, allocations: 488.9 kB / 0.6393 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.02353, allocations: 192 / 0.6393 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.02355, allocations: 15.92 kB / 0.6393 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.02357, allocations: 4 kB / 0.6393 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.0239, allocations: 423.3 kB / 0.6397 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.02472, allocations: 0.8242 MB / 0.6405 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.02497, allocations: 154.4 kB / 0.6407 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.02504, allocations: 56.88 kB / 0.6407 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.02552, allocations: 455.9 kB / 0.6412 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.02554, allocations: 34.56 kB / 0.6412 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.02554, allocations: 0 / 0.6412 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002637/0.02581, allocations: 157.4 kB / 0.6414 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.02583, allocations: 51.41 kB / 0.6414 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.02595, allocations: 177.2 kB / 0.6416 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.02597, allocations: 33.7 kB / 0.6416 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.02605, allocations: 144.1 kB / 0.6418 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.02607, allocations: 51.53 kB / 0.6418 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.02612, allocations: 53.7 kB / 0.6419 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.02621, allocations: 322.8 kB / 0.6422 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.02626, allocations: 35.97 kB / 0.6422 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.02636, allocations: 145.7 kB / 0.6423 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.02653, allocations: 199.9 kB / 0.6425 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.02654, allocations: 4 kB / 0.6425 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002239/0.02676, allocations: 213.6 kB / 0.6427 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.02678, allocations: 15.97 kB / 0.6427 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.02679, allocations: 7.938 kB / 0.6428 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.02681, allocations: 4 kB / 0.6428 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.02693, allocations: 59.84 kB / 0.6428 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.02694, allocations: 8 kB / 0.6428 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.027, allocations: 31.72 kB / 0.6429 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.02702, allocations: 12 kB / 0.6429 GB, free: 3.895 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001923/0.02721, allocations: 129.8 kB / 0.643 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.02724, allocations: 19.89 kB / 0.643 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.02746, allocations: 160.3 kB / 0.6432 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02747, allocations: 8 kB / 0.6432 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02748, allocations: 0 / 0.6432 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.02748, allocations: 3.938 kB / 0.6432 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.02764, allocations: 176.6 kB / 0.6433 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02764, allocations: 0 / 0.6433 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.0277, allocations: 31.98 kB / 0.6434 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.0277, allocations: 4 kB / 0.6434 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.02771, allocations: 0 / 0.6434 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.02771, allocations: 0 / 0.6434 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02771, allocations: 0 / 0.6434 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.02788, allocations: 234.2 kB / 0.6436 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.02793, allocations: 31.81 kB / 0.6436 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.02794, allocations: 8 kB / 0.6436 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.02804, allocations: 11.98 kB / 0.6436 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.02806, allocations: 15.97 kB / 0.6437 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.02808, allocations: 11.92 kB / 0.6437 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.02814, allocations: 124.2 kB / 0.6438 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02814, allocations: 0 / 0.6438 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002666/0.0284, allocations: 83.84 kB / 0.6439 GB, free: 2.801 MB / 0.6042 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005763/0.02898, allocations: 0.8371 MB / 0.6447 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.02915, allocations: 116.5 kB / 0.6448 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02915, allocations: 0 / 0.6448 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.02919, allocations: 47.91 kB / 0.6448 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.02949, allocations: 58.23 kB / 0.6449 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.03101, allocations: 2.029 MB / 0.6469 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.03108, allocations: 98.89 kB / 0.647 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.03119, allocations: 50.33 kB / 0.647 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.03125, allocations: 48.48 kB / 0.6471 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.03125, allocations: 3.938 kB / 0.6471 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.05046, allocations: 6.45 MB / 0.6534 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.465, allocations: 11.16 kB / 0.6534 GB, free: 9.086 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.195738893933594] Failed to read output from testmodel.py, exit status != 0: 7.547627587802708 7.557128829 7.533300753 Calling exit ...