Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 207.6 MB / 231.4 MB, free: 3.191 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05513/0.05513, allocations: 9.159 MB / 292.6 MB, free: 6.078 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 78.39 kB / 409.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3068, allocations: 50.72 MB / 459.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02499/0.3318, allocations: 19.9 MB / 479.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02014/0.3519, allocations: 17.17 MB / 497 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.3525, allocations: 8 kB / 497 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.3542, allocations: 0.6343 MB / 497.6 MB, free: 1.41 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01513/0.3693, allocations: 5.561 MB / 0.4914 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.3721, allocations: 1.077 MB / 0.4924 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3731, allocations: 0.798 MB / 0.4932 GB, free: 9.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.3732, allocations: 25.78 kB / 0.4932 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.3737, allocations: 338.7 kB / 0.4936 GB, free: 9.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.3741, allocations: 302.6 kB / 0.4939 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.3741, allocations: 28 kB / 0.4939 GB, free: 9.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.3912, allocations: 9.603 MB / 0.5033 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3913, allocations: 99.53 kB / 0.5034 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.3917, allocations: 274.5 kB / 0.5036 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4034, allocations: 4.118 MB / 0.5076 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4034, allocations: 0 / 0.5076 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4034, allocations: 0 / 0.5076 GB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4034, allocations: 0 / 0.5076 GB, free: 11.15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003336/0.4068, allocations: 1.236 MB / 0.5088 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4068, allocations: 8.031 kB / 0.5088 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.4073, allocations: 95.5 kB / 0.5089 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4075, allocations: 226.3 kB / 0.5092 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.4076, allocations: 20.56 kB / 0.5092 GB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.4076, allocations: 28 kB / 0.5092 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4093, allocations: 1.259 MB / 0.5104 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4093, allocations: 0 / 0.5104 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.4093, allocations: 11.94 kB / 0.5104 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.4094, allocations: 27.95 kB / 0.5105 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.4121, allocations: 2.311 MB / 0.5127 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.4148, allocations: 2.159 MB / 0.5148 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.4162, allocations: 1.123 MB / 0.5159 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.4174, allocations: 1.052 MB / 0.517 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/0.4399, allocations: 11.21 MB / 0.5279 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.4399, allocations: 39.12 kB / 0.5279 GB, free: 4.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.254e-06/0.4399, allocations: 0 / 0.5279 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.004459/0.4444, allocations: 3.608 MB / 0.5315 GB, free: 0.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4444, allocations: 59.97 kB / 0.5315 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4445, allocations: 109.8 kB / 0.5316 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4446, allocations: 41.7 kB / 0.5317 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.4446, allocations: 83.08 kB / 0.5317 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.4451, allocations: 0.6118 MB / 0.5323 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.4453, allocations: 154.2 kB / 0.5325 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4454, allocations: 313.7 kB / 0.5328 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4466, allocations: 1.018 MB / 0.5338 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.4478, allocations: 1.039 MB / 0.5348 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.4503, allocations: 2.237 MB / 0.537 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4503, allocations: 0 / 0.537 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002899/0.4532, allocations: 2.333 MB / 0.5393 GB, free: 8.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4532, allocations: 4 kB / 0.5393 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4532, allocations: 0 / 0.5393 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4532, allocations: 4 kB / 0.5393 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.4538, allocations: 115.9 kB / 0.5394 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.4538, allocations: 3.938 kB / 0.5394 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.4542, allocations: 95.17 kB / 0.5395 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.4543, allocations: 23.97 kB / 0.5395 GB, free: 8.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002209/0.4545, allocations: 166.3 kB / 0.5397 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4547, allocations: 59.58 kB / 0.5397 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.458, allocations: 2.636 MB / 0.5423 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.4581, allocations: 23.97 kB / 0.5423 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4581, allocations: 0 / 0.5423 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4581, allocations: 11.86 kB / 0.5423 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4594, allocations: 1.167 MB / 0.5435 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4594, allocations: 0 / 0.5435 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.46, allocations: 139.8 kB / 0.5436 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.46, allocations: 4 kB / 0.5436 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.46, allocations: 20 kB / 0.5436 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.46, allocations: 4 kB / 0.5436 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.46, allocations: 0 / 0.5436 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.463, allocations: 2.341 MB / 0.5459 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.4633, allocations: 224.1 kB / 0.5461 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.4634, allocations: 12 kB / 0.5461 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.4637, allocations: 23.98 kB / 0.5462 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4639, allocations: 48.92 kB / 0.5462 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.4639, allocations: 31.88 kB / 0.5462 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.464, allocations: 83.27 kB / 0.5463 GB, free: 1.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.464, allocations: 0 / 0.5463 GB, free: 1.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002466/0.4665, allocations: 0.896 MB / 0.5472 GB, free: 488 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.00384/0.4703, allocations: 1.332 MB / 0.5485 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.4734, allocations: 2.127 MB / 0.5506 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4734, allocations: 0 / 0.5506 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.4749, allocations: 1.01 MB / 0.5516 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.4766, allocations: 351.7 kB / 0.5519 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.479, allocations: 1.643 MB / 0.5535 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.4795, allocations: 0.8819 MB / 0.5544 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005723/0.4801, allocations: 254.6 kB / 0.5546 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.4803, allocations: 59.41 kB / 0.5547 GB, free: 8.762 MB / 430.1 MB Notification: Performance of SimCode: time 2.305e-06/0.4803, allocations: 0 / 0.5547 GB, free: 8.762 MB / 430.1 MB Notification: Performance of Templates: time 0.0599/0.5402, allocations: 39.09 MB / 0.5928 GB, free: 1.691 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.6124485256150365]