Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.001453/0.001453, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001598/0.001598, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.04964/0.04964, allocations: 9.128 MB / 321.6 MB, free: 10.22 MB / 254.1 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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.88 kB / 446.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1014, allocations: 54.94 MB / 0.4897 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02072/0.1221, allocations: 16.48 MB / 0.5058 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1944/0.3165, allocations: 9.845 MB / 0.5154 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3166, allocations: 4.688 kB / 0.5154 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.1e-05/0.3167, allocations: 10.5 kB / 0.5154 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.3175, allocations: 305.4 kB / 0.5157 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.329, allocations: 5.478 MB / 0.5211 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.3292, allocations: 151.3 kB / 0.5212 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.3292, allocations: 4.781 kB / 0.5212 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3295, allocations: 96.41 kB / 0.5213 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.3296, allocations: 49.95 kB / 0.5214 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3296, allocations: 5.031 kB / 0.5214 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.3398, allocations: 5.493 MB / 0.5267 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.3399, allocations: 16.5 kB / 0.5267 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.34, allocations: 39.36 kB / 0.5268 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.3467, allocations: 2.845 MB / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3467, allocations: 0 / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3467, allocations: 0 / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3467, allocations: 0 / 0.5296 GB, free: 6.359 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001414/0.3481, allocations: 0.7545 MB / 0.5303 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3481, allocations: 9.625 kB / 0.5303 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.3481, allocations: 35.5 kB / 0.5303 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.3484, allocations: 27.8 kB / 0.5304 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3486, allocations: 142.3 kB / 0.5305 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3486, allocations: 4.375 kB / 0.5305 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3486, allocations: 2.75 kB / 0.5305 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.3489, allocations: 94.52 kB / 0.5306 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3489, allocations: 6.375 kB / 0.5306 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3489, allocations: 0 / 0.5306 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3489, allocations: 1.375 kB / 0.5306 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.3493, allocations: 113.2 kB / 0.5307 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3497, allocations: 287.2 kB / 0.531 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.35, allocations: 98.36 kB / 0.5311 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.3503, allocations: 66.69 kB / 0.5311 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/0.3664, allocations: 4.599 MB / 0.5356 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.3664, allocations: 35.59 kB / 0.5357 GB, free: 4.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.3664, allocations: 5.969 kB / 0.5357 GB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008164/0.3673, allocations: 216.2 kB / 0.5359 GB, free: 4.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.3673, allocations: 53.23 kB / 0.5359 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.3674, allocations: 140.1 kB / 0.5361 GB, free: 4.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3674, allocations: 33.64 kB / 0.5361 GB, free: 4.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.3674, allocations: 86.33 kB / 0.5362 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3674, allocations: 31.95 kB / 0.5362 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3675, allocations: 29.47 kB / 0.5362 GB, free: 4.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.3675, allocations: 317.2 kB / 0.5365 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3677, allocations: 49.95 kB / 0.5366 GB, free: 3.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3679, allocations: 47.14 kB / 0.5366 GB, free: 3.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3682, allocations: 112.1 kB / 0.5367 GB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3682, allocations: 0 / 0.5367 GB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003859/0.3686, allocations: 151.8 kB / 0.5369 GB, free: 3.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3686, allocations: 9.438 kB / 0.5369 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3686, allocations: 1.125 kB / 0.5369 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3686, allocations: 3.938 kB / 0.5369 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3687, allocations: 31.88 kB / 0.5369 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3688, allocations: 0 / 0.5369 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3689, allocations: 12.92 kB / 0.5369 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3689, allocations: 3.125 kB / 0.5369 GB, free: 3.648 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.185e-05/0.3689, allocations: 121.8 kB / 0.5371 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.369, allocations: 17.23 kB / 0.5371 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.3696, allocations: 409.4 kB / 0.5375 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3696, allocations: 12.83 kB / 0.5375 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3696, allocations: 0 / 0.5375 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3696, allocations: 1.094 kB / 0.5375 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3698, allocations: 251.5 kB / 0.5377 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3698, allocations: 4 kB / 0.5377 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.37, allocations: 31.78 kB / 0.5378 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.37, allocations: 0 / 0.5378 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.37, allocations: 1.094 kB / 0.5378 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.37, allocations: 5 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.37, allocations: 1.547 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.3705, allocations: 456 kB / 0.5382 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.3706, allocations: 30.06 kB / 0.5382 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3706, allocations: 1.062 kB / 0.5382 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3707, allocations: 20.58 kB / 0.5382 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.3708, allocations: 11.38 kB / 0.5383 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.3708, allocations: 7.391 kB / 0.5383 GB, free: 2.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.3708, allocations: 103.6 kB / 0.5384 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3708, allocations: 0 / 0.5384 GB, free: 2.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001136/0.372, allocations: 458.8 kB / 0.5388 GB, free: 2.781 MB / 382.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002219/0.3742, allocations: 1.587 MB / 0.5403 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.3747, allocations: 208 kB / 0.5405 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3747, allocations: 4.906 kB / 0.5406 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.3749, allocations: 142.3 kB / 0.5407 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3753, allocations: 35.62 kB / 0.5407 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3774, allocations: 1.977 MB / 0.5427 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.477e-05/0.3775, allocations: 108.8 kB / 0.5428 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.3776, allocations: 23.31 kB / 0.5428 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.3776, allocations: 45.48 kB / 0.5428 GB, free: 212 kB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3776, allocations: 0 / 0.5428 GB, free: 212 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.4256, allocations: 17.05 MB / 0.5595 GB, free: 3.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 12.38 kB / 0.5595 GB, free: 3.648 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.220077801961452] Failed to read output from testmodel.py, exit status != 0: 11.751562417019159 11.770502406 11.420580219 Calling exit ...