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.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.00101/0.00101, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001158/0.001158, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03917/0.03917, allocations: 7.523 MB / 268.6 MB, free: 5.812 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 339.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.857e-05, allocations: 4.984 kB / 339.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01652/0.01655, allocations: 19.6 MB / 359.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03164/0.04819, allocations: 16.91 MB / 376.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.04871, allocations: 0 / 376.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.05311, allocations: 0.5219 MB / 377 MB, free: 6.566 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02084/0.07395, allocations: 5.631 MB / 382.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.07646, allocations: 1.111 MB / 383.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008485/0.07731, allocations: 0.8287 MB / 384.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.699e-05/0.07739, allocations: 25.97 kB / 384.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.07785, allocations: 474.8 kB / 385 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.07812, allocations: 235.3 kB / 385.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.07816, allocations: 28 kB / 385.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009839/0.088, allocations: 6.661 MB / 391.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.08809, allocations: 95.52 kB / 392 MB, free: 7.441 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.08838, allocations: 183.5 kB / 392.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009063/0.09744, allocations: 3.849 MB / 396.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.09745, allocations: 0 / 396.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.09745, allocations: 0 / 396.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.09746, allocations: 0 / 396.1 MB, free: 3.402 MB / 362.7 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.002008/0.09947, allocations: 1.279 MB / 397.3 MB, free: 2.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.0995, allocations: 12.62 kB / 397.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.09987, allocations: 167.3 kB / 397.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.09999, allocations: 171.2 kB / 397.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1, allocations: 28.66 kB / 397.7 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1001, allocations: 24 kB / 397.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.1006, allocations: 0.5005 MB / 398.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1006, allocations: 0 / 398.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1006, allocations: 8 kB / 398.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1006, allocations: 23.97 kB / 398.3 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.1014, allocations: 0.7241 MB / 399 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1025, allocations: 1.368 MB / 400.4 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.103, allocations: 459.1 kB / 400.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.1033, allocations: 400.2 kB / 401.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008194/0.1115, allocations: 2.991 MB / 404.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1115, allocations: 38.05 kB / 404.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 2.675e-06/0.1115, allocations: 0 / 404.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.001585/0.1131, allocations: 1.68 MB / 405.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1131, allocations: 60.06 kB / 406 MB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.1132, allocations: 177.8 kB / 406.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1132, allocations: 37.7 kB / 406.2 MB, free: 9.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1133, allocations: 129.8 kB / 406.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.1136, allocations: 0.6234 MB / 406.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1138, allocations: 199.8 kB / 407.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1139, allocations: 488.4 kB / 407.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.1142, allocations: 318.6 kB / 407.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.1144, allocations: 336.5 kB / 408.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.1152, allocations: 0.8356 MB / 409.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1152, allocations: 3.938 kB / 409.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001389/0.1166, allocations: 1.081 MB / 410.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1167, allocations: 4 kB / 410.2 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1167, allocations: 0 / 410.2 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1167, allocations: 7.938 kB / 410.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.117, allocations: 115.8 kB / 410.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.117, allocations: 4 kB / 410.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1172, allocations: 79.25 kB / 410.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.1172, allocations: 19.98 kB / 410.4 MB, free: 4.863 MB / 378.7 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.0001395/0.1173, allocations: 188.4 kB / 410.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.1175, allocations: 119.5 kB / 410.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1187, allocations: 1.346 MB / 412 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.1187, allocations: 23.97 kB / 412 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1187, allocations: 4 kB / 412.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.1187, allocations: 3.984 kB / 412.1 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.1192, allocations: 0.6446 MB / 412.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1192, allocations: 0 / 412.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.1195, allocations: 135.8 kB / 412.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1195, allocations: 4 kB / 412.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.1196, allocations: 27.92 kB / 412.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1196, allocations: 4 kB / 412.9 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1196, allocations: 0 / 412.9 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1206, allocations: 1.327 MB / 414.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.1208, allocations: 154.9 kB / 414.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1208, allocations: 19.94 kB / 414.4 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1209, allocations: 15.98 kB / 414.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.121, allocations: 52.91 kB / 414.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.121, allocations: 15.98 kB / 414.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.1211, allocations: 123.2 kB / 414.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1211, allocations: 0 / 414.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001878/0.123, allocations: 0.8999 MB / 415.5 MB, free: 15.71 MB / 394.7 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.002757/0.1257, allocations: 1.479 MB / 416.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.1265, allocations: 0.9126 MB / 417.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1265, allocations: 0 / 417.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.1269, allocations: 0.5021 MB / 418.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.1278, allocations: 347.7 kB / 418.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1291, allocations: 1.102 MB / 419.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.1292, allocations: 165.5 kB / 420 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.1295, allocations: 255.5 kB / 420.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.13, allocations: 310 kB / 420.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.13, allocations: 0 / 420.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of Templates: time 0.1694/0.2994, allocations: 46.96 MB / 467.5 MB, free: 111.8 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.910041044931859]