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.001756/0.001756, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.002078/0.002078, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.651/1.651, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-545:108: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-545:116: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.29/1.29, allocations: 154.6 MB / 414.1 MB, free: 0.6289 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 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 1.963e-06/1.963e-06, allocations: 0 / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.566e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003222/0.003258, allocations: 1.273 MB / 0.5208 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.007441, allocations: 2.374 MB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.007476, allocations: 1.219 kB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.007506, allocations: 7.922 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.007566, allocations: 11.92 kB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.008369, allocations: 125.6 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.008465, allocations: 35.84 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.008505, allocations: 4 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.008589, allocations: 29.62 kB / 0.5234 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.008681, allocations: 19.97 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.008697, allocations: 0 / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.009046, allocations: 107.6 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.009064, allocations: 5.469 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.009107, allocations: 15.97 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.009392, allocations: 87.72 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.009398, allocations: 0 / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.0094, allocations: 0.75 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.009405, allocations: 0 / 0.5236 GB, free: 14.5 MB / 0.4948 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.000517/0.009922, allocations: 275.7 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.009971, allocations: 12.02 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.01025, allocations: 24.77 kB / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.01038, allocations: 107.1 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.0104, allocations: 4.375 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.01043, allocations: 4.375 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.01068, allocations: 153.9 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01069, allocations: 0.8438 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.01071, allocations: 7.375 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01071, allocations: 0 / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.01077, allocations: 15.98 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.0115, allocations: 388.8 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01169, allocations: 71.72 kB / 0.5246 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.01173, allocations: 26.58 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.01175, allocations: 3.938 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.01179, allocations: 39.42 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.01179, allocations: 0 / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000719/0.01251, allocations: 234.2 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.01259, allocations: 109.5 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.0127, allocations: 101.8 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01273, allocations: 29.7 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.01279, allocations: 84.09 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.01283, allocations: 31.73 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.01288, allocations: 25.72 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.01306, allocations: 318.8 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.01309, allocations: 10.75 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.01317, allocations: 57.14 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01329, allocations: 69.03 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01329, allocations: 0 / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001861/0.01348, allocations: 103.3 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.0135, allocations: 8 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.0135, allocations: 3.984 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.01353, allocations: 4.906 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.01361, allocations: 16.06 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.01362, allocations: 4.656 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.01366, allocations: 4 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.01367, allocations: 8.656 kB / 0.5258 GB, free: 11.91 MB / 0.4948 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.0001173/0.01379, allocations: 122.3 kB / 0.526 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.01386, allocations: 13.36 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.01389, allocations: 7.812 kB / 0.526 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.0139, allocations: 4 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.0139, allocations: 0 / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.0139, allocations: 6.375 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.01423, allocations: 117.3 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01423, allocations: 0 / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.01432, allocations: 23.92 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01433, allocations: 0.6094 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01434, allocations: 4 kB / 0.5261 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01435, allocations: 7.938 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01435, allocations: 6.766 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.01469, allocations: 330 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.01472, allocations: 3.938 kB / 0.5265 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.01474, allocations: 4 kB / 0.5265 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.01493, allocations: 12.12 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.01495, allocations: 3.984 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01495, allocations: 7.938 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.01501, allocations: 87.23 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01501, allocations: 0 / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003338/0.01534, allocations: 16 kB / 0.5266 GB, free: 11.1 MB / 0.4948 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.0001597/0.0155, allocations: 99.19 kB / 0.5267 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.01599, allocations: 43.92 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.016, allocations: 0 / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.01604, allocations: 26.83 kB / 0.5267 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.01655, allocations: 13.44 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.01721, allocations: 260.2 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01732, allocations: 81.62 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.01737, allocations: 5.438 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.0174, allocations: 14.06 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.0174, allocations: 3.938 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.003742/0.02115, allocations: 0.6654 MB / 0.5278 GB, free: 9.973 MB / 0.4948 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.2979769869707525]