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.001353/0.001353, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001403/0.001403, allocations: 215 kB / 20.13 MB, free: 2.949 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.423/1.423, allocations: 207.6 MB / 230.5 MB, free: 4.004 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.05046/0.05046, allocations: 9.144 MB / 291.5 MB, free: 7.172 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 72.38 kB / 406.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2696, allocations: 50.71 MB / 457.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02056/0.2902, allocations: 18.15 MB / 475.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.3019, allocations: 11.09 MB / 486.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3021, allocations: 7.938 kB / 486.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.3021, allocations: 15.86 kB / 486.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.3032, allocations: 366.2 kB / 486.9 MB, free: 10.19 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.typeClassSections: time 0.01541/0.3186, allocations: 5.519 MB / 492.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3188, allocations: 143.3 kB / 492.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3189, allocations: 4 kB / 492.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.3191, allocations: 95.55 kB / 492.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.3192, allocations: 47.78 kB / 492.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3193, allocations: 12 kB / 492.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.3345, allocations: 8.234 MB / 0.4892 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.3346, allocations: 19.91 kB / 0.4892 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3347, allocations: 43.8 kB / 0.4893 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009756/0.3444, allocations: 3.406 MB / 0.4926 GB, free: 8.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3444, allocations: 3.938 kB / 0.4926 GB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3444, allocations: 0 / 0.4926 GB, free: 8.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3445, allocations: 0 / 0.4926 GB, free: 8.625 MB / 366.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.001836/0.3463, allocations: 0.8309 MB / 0.4934 GB, free: 7.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3463, allocations: 8.031 kB / 0.4934 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.3464, allocations: 0 / 0.4934 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.3464, allocations: 34.56 kB / 0.4934 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.3465, allocations: 19.88 kB / 0.4935 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3467, allocations: 186.3 kB / 0.4936 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3467, allocations: 4 kB / 0.4936 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.3467, allocations: 4 kB / 0.4936 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3471, allocations: 101.5 kB / 0.4937 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3471, allocations: 0 / 0.4937 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3471, allocations: 4 kB / 0.4937 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3471, allocations: 7.938 kB / 0.4938 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.3476, allocations: 103.9 kB / 0.4939 GB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3481, allocations: 312.8 kB / 0.4942 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.3486, allocations: 106.5 kB / 0.4943 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.3488, allocations: 64.81 kB / 0.4943 GB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02565/0.3745, allocations: 15.94 MB / 0.5099 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.3745, allocations: 34.56 kB / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.136e-06/0.3745, allocations: 0 / 0.5099 GB, free: 3.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001003/0.3755, allocations: 209.6 kB / 0.5101 GB, free: 3.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3756, allocations: 63.41 kB / 0.5102 GB, free: 3.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3757, allocations: 126.2 kB / 0.5103 GB, free: 3.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3757, allocations: 29.7 kB / 0.5103 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3758, allocations: 88.14 kB / 0.5104 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.3758, allocations: 35.69 kB / 0.5104 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.3759, allocations: 29.64 kB / 0.5105 GB, free: 3.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3761, allocations: 314.8 kB / 0.5108 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.3763, allocations: 51.95 kB / 0.5108 GB, free: 2.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3765, allocations: 51.94 kB / 0.5109 GB, free: 2.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.3769, allocations: 100.8 kB / 0.511 GB, free: 2.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3769, allocations: 4 kB / 0.511 GB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005182/0.3774, allocations: 154 kB / 0.5111 GB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3774, allocations: 5.406 kB / 0.5111 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3774, allocations: 0 / 0.5111 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3774, allocations: 96 / 0.5111 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3776, allocations: 35.91 kB / 0.5112 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3776, allocations: 7.938 kB / 0.5112 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3777, allocations: 23.91 kB / 0.5112 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3777, allocations: 0 / 0.5112 GB, free: 2.523 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 9.836e-05/0.3778, allocations: 113.8 kB / 0.5113 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3779, allocations: 15.84 kB / 0.5113 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.3786, allocations: 394.8 kB / 0.5117 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3786, allocations: 7.938 kB / 0.5117 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3787, allocations: 0 / 0.5117 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3787, allocations: 0 / 0.5117 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.379, allocations: 277.9 kB / 0.512 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.379, allocations: 3.938 kB / 0.512 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3791, allocations: 35.91 kB / 0.512 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3791, allocations: 0 / 0.512 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3791, allocations: 4 kB / 0.512 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3791, allocations: 0 / 0.512 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3791, allocations: 4 kB / 0.512 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.3798, allocations: 424.1 kB / 0.5124 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.3799, allocations: 116.9 kB / 0.5125 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.38, allocations: 4 kB / 0.5125 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3801, allocations: 11.98 kB / 0.5125 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.3802, allocations: 11.98 kB / 0.5126 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3802, allocations: 8 kB / 0.5126 GB, free: 1.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.3803, allocations: 103.2 kB / 0.5127 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 3.938 kB / 0.5127 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001333/0.3816, allocations: 458.5 kB / 0.5131 GB, free: 484 kB / 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.002954/0.3846, allocations: 1.587 MB / 0.5147 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006088/0.3852, allocations: 195.8 kB / 0.5148 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3852, allocations: 0 / 0.5148 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.3855, allocations: 143.8 kB / 0.515 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3859, allocations: 35.73 kB / 0.515 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3871, allocations: 0.5796 MB / 0.5156 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3875, allocations: 0.72 MB / 0.5163 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.3875, allocations: 15.92 kB / 0.5163 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.3876, allocations: 39.42 kB / 0.5163 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3876, allocations: 0 / 0.5163 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.4275, allocations: 16.39 MB / 0.5323 GB, free: 12.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/9.205, allocations: 12.52 kB / 0.5324 GB, free: 12.68 MB / 414.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.614215613983106] Failed to read output from testmodel.py, exit status != 0: 9.337599635997321 9.352266197 9.004763506 Calling exit ...