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.0007788/0.0007788, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007617/0.0007617, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8976/0.8976, allocations: 177.1 MB / 203.5 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.7028/0.7028, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.782e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00347/0.003488, allocations: 3.878 MB / 0.6231 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.005022, allocations: 2.239 MB / 0.6253 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.005084, allocations: 4 kB / 0.6253 GB, free: 7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.005302, allocations: 39.75 kB / 0.6253 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.005512, allocations: 107.2 kB / 0.6254 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.006224, allocations: 0.5623 MB / 0.626 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.006439, allocations: 271.7 kB / 0.6263 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.006477, allocations: 9.797 kB / 0.6263 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.006651, allocations: 155.5 kB / 0.6264 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.006753, allocations: 83.77 kB / 0.6265 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.006775, allocations: 8 kB / 0.6265 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.007178, allocations: 399.1 kB / 0.6269 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.007246, allocations: 47.8 kB / 0.6269 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.007298, allocations: 59.91 kB / 0.627 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.007717, allocations: 442.7 kB / 0.6274 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.007719, allocations: 4 kB / 0.6274 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.153e-06/0.00772, allocations: 7.938 kB / 0.6274 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.007724, allocations: 0 / 0.6274 GB, free: 4.836 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.0005547/0.008279, allocations: 445.4 kB / 0.6278 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.008312, allocations: 9.469 kB / 0.6279 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/0.009254, allocations: 192.6 kB / 0.628 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.009437, allocations: 149.6 kB / 0.6282 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.00946, allocations: 16.7 kB / 0.6282 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.009483, allocations: 20.31 kB / 0.6282 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.009962, allocations: 0.4994 MB / 0.6287 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.009971, allocations: 4.172 kB / 0.6287 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.009995, allocations: 12.12 kB / 0.6287 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.01001, allocations: 8 kB / 0.6287 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.01039, allocations: 251.6 kB / 0.629 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.01125, allocations: 1.158 MB / 0.6301 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.01163, allocations: 190.4 kB / 0.6303 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01175, allocations: 68.81 kB / 0.6303 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01177, allocations: 7.938 kB / 0.6304 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01179, allocations: 46.42 kB / 0.6304 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.01179, allocations: 0 / 0.6304 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004418/0.01223, allocations: 243.5 kB / 0.6306 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.01226, allocations: 55.39 kB / 0.6307 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.01234, allocations: 147.9 kB / 0.6308 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01236, allocations: 25.7 kB / 0.6308 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.01242, allocations: 128.3 kB / 0.631 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.01245, allocations: 71.36 kB / 0.631 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.01251, allocations: 49.92 kB / 0.6311 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.01258, allocations: 322.8 kB / 0.6314 GB, free: 496 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.0127, allocations: 68.42 kB / 0.6315 GB, free: 428 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01284, allocations: 147.9 kB / 0.6316 GB, free: 248 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.0131, allocations: 213.3 kB / 0.6318 GB, free: 0 / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0131, allocations: 0 / 0.6318 GB, free: 0 / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003332/0.01343, allocations: 259.6 kB / 0.632 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01344, allocations: 4 kB / 0.6321 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01345, allocations: 4 kB / 0.6321 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01346, allocations: 7.984 kB / 0.6321 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01363, allocations: 63.89 kB / 0.6321 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01364, allocations: 4 kB / 0.6321 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01374, allocations: 32.16 kB / 0.6322 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.01376, allocations: 12 kB / 0.6322 GB, free: 15.62 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.029e-05/0.01384, allocations: 125.8 kB / 0.6323 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.01387, allocations: 23.83 kB / 0.6323 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.01421, allocations: 236.4 kB / 0.6325 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01422, allocations: 4 kB / 0.6325 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01422, allocations: 0 / 0.6325 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01422, allocations: 3.984 kB / 0.6325 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.01437, allocations: 173.1 kB / 0.6327 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01437, allocations: 0 / 0.6327 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01451, allocations: 47.97 kB / 0.6328 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01451, allocations: 4 kB / 0.6328 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01452, allocations: 11.92 kB / 0.6328 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01452, allocations: 0 / 0.6328 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01452, allocations: 0 / 0.6328 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.01482, allocations: 291.3 kB / 0.6331 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.01487, allocations: 27.86 kB / 0.6331 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.01489, allocations: 11.94 kB / 0.6331 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.015, allocations: 15.98 kB / 0.6331 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.01502, allocations: 15.97 kB / 0.6331 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01504, allocations: 8 kB / 0.6331 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.01508, allocations: 103.2 kB / 0.6332 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01508, allocations: 0 / 0.6332 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002154/0.01529, allocations: 63.89 kB / 0.6333 GB, free: 14.41 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.0001532/0.01545, allocations: 147.1 kB / 0.6334 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.01574, allocations: 177.1 kB / 0.6336 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01574, allocations: 0 / 0.6336 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01585, allocations: 83.88 kB / 0.6337 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01611, allocations: 38.14 kB / 0.6337 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.0167, allocations: 407.5 kB / 0.6341 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.01677, allocations: 106.7 kB / 0.6342 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.01685, allocations: 24.48 kB / 0.6342 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.01685, allocations: 0 / 0.6342 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.003131/0.01998, allocations: 2.848 MB / 0.637 GB, free: 10.57 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.093202940188348] Failed to read output from testmodel.py, exit status != 0: 0.02448028139770031 0.032567756 0.023029876 Calling exit ...