Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0009278/0.0009278, 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.0009991/0.0009991, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9094/0.9094, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7335/0.7335, allocations: 154.5 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.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.588e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003879/0.003895, allocations: 3.876 MB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.005549, allocations: 2.239 MB / 0.6241 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.005614, allocations: 0 / 0.6241 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.005849, allocations: 43.69 kB / 0.6241 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.006079, allocations: 103.2 kB / 0.6242 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.006939, allocations: 0.5601 MB / 0.6248 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.007181, allocations: 275.7 kB / 0.625 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.007225, allocations: 9.812 kB / 0.625 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.007433, allocations: 151.6 kB / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.007545, allocations: 79.77 kB / 0.6253 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.007566, allocations: 8 kB / 0.6253 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.008064, allocations: 407 kB / 0.6256 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.008142, allocations: 39.89 kB / 0.6257 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.008211, allocations: 71.81 kB / 0.6258 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.008669, allocations: 434.8 kB / 0.6262 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.008671, allocations: 0 / 0.6262 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008672, allocations: 0 / 0.6262 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.008677, allocations: 0 / 0.6262 GB, free: 5.277 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00062/0.009297, allocations: 453.3 kB / 0.6266 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.009334, allocations: 9.469 kB / 0.6266 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.009377, allocations: 54.73 kB / 0.6267 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.01036, allocations: 188.5 kB / 0.6268 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.01058, allocations: 157.5 kB / 0.627 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.0106, allocations: 16.7 kB / 0.627 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.01063, allocations: 16.38 kB / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.01115, allocations: 0.4993 MB / 0.6275 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01116, allocations: 12.11 kB / 0.6275 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.01119, allocations: 11.94 kB / 0.6275 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.01121, allocations: 8 kB / 0.6275 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.01165, allocations: 255.6 kB / 0.6278 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01282, allocations: 1.192 MB / 0.629 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.01323, allocations: 190 kB / 0.6291 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01335, allocations: 76.75 kB / 0.6292 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.01337, allocations: 0 / 0.6292 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.0134, allocations: 38.5 kB / 0.6292 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.0134, allocations: 0 / 0.6292 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004868/0.01389, allocations: 251.4 kB / 0.6295 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.01392, allocations: 51.41 kB / 0.6295 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01403, allocations: 165.5 kB / 0.6297 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.01405, allocations: 29.7 kB / 0.6297 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.0141, allocations: 124.3 kB / 0.6298 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.01414, allocations: 63.44 kB / 0.6299 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.0142, allocations: 53.92 kB / 0.6299 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.01429, allocations: 326.8 kB / 0.6303 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.01441, allocations: 64.41 kB / 0.6303 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.01457, allocations: 147 kB / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.01486, allocations: 215.5 kB / 0.6307 GB, free: 316 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01486, allocations: 0 / 0.6307 GB, free: 316 kB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003505/0.01521, allocations: 257.1 kB / 0.6309 GB, free: 52 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01523, allocations: 8 kB / 0.6309 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01524, allocations: 0 / 0.6309 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01525, allocations: 4 kB / 0.6309 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.01544, allocations: 76.2 kB / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01545, allocations: 4 kB / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01556, allocations: 35.77 kB / 0.631 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01557, allocations: 8 kB / 0.631 GB, free: 15.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.675e-05/0.01566, allocations: 129.8 kB / 0.6312 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.01569, allocations: 23.84 kB / 0.6312 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.01608, allocations: 224.6 kB / 0.6314 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01608, allocations: 4 kB / 0.6314 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01609, allocations: 7.984 kB / 0.6314 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01609, allocations: 0 / 0.6314 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01627, allocations: 208.5 kB / 0.6316 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01627, allocations: 3.938 kB / 0.6316 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.01641, allocations: 47.97 kB / 0.6317 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01641, allocations: 4 kB / 0.6317 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01643, allocations: 7.984 kB / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01643, allocations: 0 / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01643, allocations: 4 kB / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01677, allocations: 303.2 kB / 0.632 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.01682, allocations: 31.75 kB / 0.632 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.01684, allocations: 4 kB / 0.632 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.01697, allocations: 15.98 kB / 0.632 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.01699, allocations: 11.97 kB / 0.632 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.01701, allocations: 12 kB / 0.632 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.01706, allocations: 111.2 kB / 0.6321 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01706, allocations: 7.938 kB / 0.6322 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002321/0.01729, allocations: 63.94 kB / 0.6322 GB, free: 14.64 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 (20): * Single equations (assignments): 20 * 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.0005917/0.01788, allocations: 0.8626 MB / 0.6331 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.0182, allocations: 165.5 kB / 0.6332 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.0182, allocations: 4.625 kB / 0.6332 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.01833, allocations: 86.11 kB / 0.6333 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01864, allocations: 61.25 kB / 0.6334 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.02077, allocations: 2.137 MB / 0.6354 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.211e-05/0.02084, allocations: 103.1 kB / 0.6355 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.02101, allocations: 49.92 kB / 0.6356 GB, free: 11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.0211, allocations: 56.41 kB / 0.6356 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.0211, allocations: 0 / 0.6356 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.04046, allocations: 6.173 MB / 0.6417 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.305, allocations: 17.31 kB / 0.6417 GB, free: 5.055 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.11273336596787] Failed to read output from testmodel.py, exit status != 0: 7.38760478515178 7.396472299 7.386152328 Calling exit ...