Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.00141/0.00141, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001607/0.001607, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.229/1.229, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6185 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.772e-05, allocations: 3.312 kB / 0.6185 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002653/0.002691, allocations: 1.28 MB / 0.6198 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.006285, allocations: 2.378 MB / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.006317, allocations: 0 / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.006335, allocations: 3.938 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.006402, allocations: 11.97 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.007062, allocations: 131.3 kB / 0.6223 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.007162, allocations: 35.86 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.007213, allocations: 7.984 kB / 0.6223 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.007288, allocations: 27.91 kB / 0.6223 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.007362, allocations: 19.97 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.007378, allocations: 0 / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.007671, allocations: 99.73 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.007694, allocations: 11.94 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.007726, allocations: 15.92 kB / 0.6225 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.007968, allocations: 83.78 kB / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.007975, allocations: 3.984 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007977, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.007985, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005285/0.008514, allocations: 278.2 kB / 0.6228 GB, free: 152 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.008556, allocations: 8.031 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.008794, allocations: 16.92 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.008919, allocations: 105.8 kB / 0.6229 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.008933, allocations: 4.375 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.008965, allocations: 12.33 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.009198, allocations: 157.8 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.009209, allocations: 192 / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.009225, allocations: 4.125 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.009234, allocations: 3.984 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.009282, allocations: 11.98 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.009903, allocations: 384.9 kB / 0.6235 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01008, allocations: 71.81 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.01011, allocations: 22.64 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.01013, allocations: 3.938 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.01016, allocations: 38.56 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.01016, allocations: 0 / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006939/0.01086, allocations: 225 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.01094, allocations: 114.8 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.01103, allocations: 97.84 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.01105, allocations: 29.7 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.01111, allocations: 88.34 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.01113, allocations: 27.75 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.01118, allocations: 33.64 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01132, allocations: 314.8 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.01135, allocations: 15.98 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.01141, allocations: 53.08 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.01151, allocations: 73.09 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01151, allocations: 0 / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001544/0.01167, allocations: 102 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01168, allocations: 6.188 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01169, allocations: 4 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01171, allocations: 0 / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.01179, allocations: 27.92 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.0118, allocations: 0 / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.01184, allocations: 8 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01185, allocations: 4 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001036/0.01195, allocations: 122.9 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.01201, allocations: 3.938 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.01205, allocations: 19.78 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01205, allocations: 0 / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.01206, allocations: 0 / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01206, allocations: 4 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.01236, allocations: 125.2 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01236, allocations: 0 / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.01244, allocations: 23.98 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01245, allocations: 0 / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01246, allocations: 4 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01246, allocations: 4 kB / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01246, allocations: 0 / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.01276, allocations: 330.1 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01279, allocations: 7.891 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.01281, allocations: 4 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.01298, allocations: 4 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.01299, allocations: 3.984 kB / 0.6254 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.01301, allocations: 8 kB / 0.6254 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.01305, allocations: 79.28 kB / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01305, allocations: 0 / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003078/0.01336, allocations: 16 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001664/0.01352, allocations: 107.2 kB / 0.6256 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01365, allocations: 47.86 kB / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01365, allocations: 0 / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.01368, allocations: 15.94 kB / 0.6257 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.01415, allocations: 24.17 kB / 0.6257 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.01476, allocations: 266.9 kB / 0.626 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.01485, allocations: 64.22 kB / 0.626 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01489, allocations: 8 kB / 0.626 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.01492, allocations: 12.5 kB / 0.626 GB, free: 12.45 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.01492, allocations: 0 / 0.626 GB, free: 12.45 MB / 0.545 GB Notification: Performance of Templates: time 0.00364/0.01856, allocations: 0.6511 MB / 0.6267 GB, free: 11.85 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.133528515696526] Failed to read output from testmodel.py, exit status != 0: 0.02819760888814926 0.042453067000000004 0.031532844000000004 Calling exit ...