Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009474/0.0009474, 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.0009699/0.0009699, allocations: 169.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.9236/0.9236, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7301/0.7301, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.366e-05, allocations: 5.453 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01259/0.01262, allocations: 11.94 MB / 0.6298 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.01458, allocations: 2.418 MB / 0.6322 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.01472, allocations: 4 kB / 0.6322 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.01503, allocations: 43.69 kB / 0.6322 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.01532, allocations: 103.2 kB / 0.6323 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.01653, allocations: 0.539 MB / 0.6329 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.0168, allocations: 239.8 kB / 0.6331 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.01685, allocations: 13.75 kB / 0.6331 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006778/0.02363, allocations: 3.632 MB / 0.6366 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.02388, allocations: 75.77 kB / 0.6367 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.02392, allocations: 8 kB / 0.6367 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.02648, allocations: 1.055 MB / 0.6377 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.02659, allocations: 39.88 kB / 0.6378 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.02672, allocations: 59.84 kB / 0.6378 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009704/0.02769, allocations: 390.9 kB / 0.6382 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.02769, allocations: 0 / 0.6382 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.245e-06/0.02769, allocations: 0 / 0.6382 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.0277, allocations: 0 / 0.6382 GB, free: 8.98 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.000889/0.02859, allocations: 448 kB / 0.6386 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.02865, allocations: 8.031 kB / 0.6387 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.0287, allocations: 50.73 kB / 0.6387 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.02887, allocations: 32.77 kB / 0.6387 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.02922, allocations: 157.5 kB / 0.6389 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.02924, allocations: 12.7 kB / 0.6389 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.02926, allocations: 16.38 kB / 0.6389 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.02972, allocations: 488.9 kB / 0.6394 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.02974, allocations: 4.188 kB / 0.6394 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.02977, allocations: 11.94 kB / 0.6394 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.0298, allocations: 8 kB / 0.6394 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.03017, allocations: 423.3 kB / 0.6398 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.03121, allocations: 0.8242 MB / 0.6406 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.03151, allocations: 147.5 kB / 0.6407 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.03159, allocations: 60.81 kB / 0.6408 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.03226, allocations: 459.9 kB / 0.6412 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.03229, allocations: 42.48 kB / 0.6413 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.03229, allocations: 0 / 0.6413 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003392/0.03263, allocations: 137.5 kB / 0.6414 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.03267, allocations: 59.41 kB / 0.6415 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.03283, allocations: 181.4 kB / 0.6416 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.03285, allocations: 29.7 kB / 0.6417 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.03294, allocations: 144.1 kB / 0.6418 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.03298, allocations: 55.52 kB / 0.6419 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.03304, allocations: 49.7 kB / 0.6419 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.03315, allocations: 330.8 kB / 0.6422 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.0332, allocations: 35.98 kB / 0.6423 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.03367, allocations: 141.7 kB / 0.6424 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.03385, allocations: 195.9 kB / 0.6426 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03385, allocations: 0 / 0.6426 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000252/0.03411, allocations: 221.1 kB / 0.6428 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.03413, allocations: 4 kB / 0.6428 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.03414, allocations: 4 kB / 0.6428 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.03417, allocations: 12 kB / 0.6428 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.03431, allocations: 55.91 kB / 0.6429 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.03433, allocations: 4 kB / 0.6429 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.03441, allocations: 32.16 kB / 0.6429 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.03443, allocations: 20 kB / 0.6429 GB, free: 3.77 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.000107/0.03453, allocations: 129.8 kB / 0.643 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.03457, allocations: 15.91 kB / 0.6431 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.03486, allocations: 164.5 kB / 0.6432 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.03487, allocations: 4 kB / 0.6432 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.03488, allocations: 0 / 0.6432 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.03488, allocations: 3.938 kB / 0.6432 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.03508, allocations: 180.6 kB / 0.6434 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.03508, allocations: 0 / 0.6434 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.03515, allocations: 31.98 kB / 0.6434 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.03516, allocations: 4 kB / 0.6434 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.03517, allocations: 4 kB / 0.6434 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.03517, allocations: 0 / 0.6434 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.03517, allocations: 3.938 kB / 0.6434 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.03537, allocations: 223.4 kB / 0.6437 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.03542, allocations: 35.81 kB / 0.6437 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.03544, allocations: 4 kB / 0.6437 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.03555, allocations: 11.98 kB / 0.6437 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.03559, allocations: 15.97 kB / 0.6437 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.03561, allocations: 15.88 kB / 0.6437 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.03568, allocations: 128.9 kB / 0.6439 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.03568, allocations: 0 / 0.6439 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003474/0.03603, allocations: 79.86 kB / 0.6439 GB, free: 2.668 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.0007332/0.03676, allocations: 0.8433 MB / 0.6448 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.03701, allocations: 118.1 kB / 0.6449 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.03701, allocations: 0 / 0.6449 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.03706, allocations: 39.92 kB / 0.6449 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.03742, allocations: 66.8 kB / 0.645 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.03949, allocations: 2.017 MB / 0.6469 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.727e-05/0.03958, allocations: 102.9 kB / 0.647 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.03975, allocations: 49.86 kB / 0.6471 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.03983, allocations: 44.48 kB / 0.6471 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.074e-06/0.03983, allocations: 3.938 kB / 0.6471 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.067, allocations: 6.456 MB / 0.6534 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.291, allocations: 5.219 kB / 0.6534 GB, free: 8.973 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.101900899782777] Failed to read output from testmodel.py, exit status != 0: 7.375362854450941 7.386889835 7.357377112 Calling exit ...