Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001215/0.001215, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001202/0.001202, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.432/1.432, allocations: 207.6 MB / 229.8 MB, free: 4.254 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.05235/0.05235, allocations: 9.151 MB / 290.8 MB, free: 7.316 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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) [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.002122/0.002122, allocations: 74.39 kB / 405.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2561, allocations: 50.71 MB / 456.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01562/0.2717, allocations: 13.2 MB / 469.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.2943, allocations: 17.81 MB / 487.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2944, allocations: 0 / 487.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.2946, allocations: 59.58 kB / 487.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.2948, allocations: 63.41 kB / 487.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02066/0.3155, allocations: 6.714 MB / 494.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.3158, allocations: 166.9 kB / 494.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.3159, allocations: 9.062 kB / 494.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3161, allocations: 63.77 kB / 494.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3162, allocations: 63.72 kB / 494.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3162, allocations: 4 kB / 494.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0228/0.339, allocations: 10.84 MB / 0.4937 GB, free: 6.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.3391, allocations: 11.94 kB / 0.4937 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3392, allocations: 67.66 kB / 0.4937 GB, free: 6.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.3539, allocations: 6.073 MB / 0.4997 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3539, allocations: 0 / 0.4997 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3539, allocations: 0 / 0.4997 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3539, allocations: 0 / 0.4997 GB, free: 0.6523 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.004569/0.3585, allocations: 1.398 MB / 0.501 GB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3585, allocations: 8.031 kB / 0.501 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.3586, allocations: 42.73 kB / 0.5011 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.3586, allocations: 16.84 kB / 0.5011 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3588, allocations: 188.2 kB / 0.5013 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3588, allocations: 8.375 kB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3588, allocations: 15.94 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.3598, allocations: 322.4 kB / 0.5016 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3598, allocations: 4 kB / 0.5016 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3598, allocations: 0 / 0.5016 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3599, allocations: 7.984 kB / 0.5016 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3609, allocations: 310.5 kB / 0.5019 GB, free: 14.22 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.362, allocations: 1.067 MB / 0.503 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.3629, allocations: 291.5 kB / 0.5032 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.3631, allocations: 82.52 kB / 0.5033 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.588/0.9511, allocations: 184.3 MB / 0.6833 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.9512, allocations: 42.55 kB / 0.6834 GB, free: 102.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.9512, allocations: 0 / 0.6834 GB, free: 102.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001831/0.953, allocations: 489.9 kB / 0.6838 GB, free: 101.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.953, allocations: 110.8 kB / 0.684 GB, free: 101.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.9531, allocations: 145.5 kB / 0.6841 GB, free: 101.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.9531, allocations: 29.7 kB / 0.6841 GB, free: 101.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.9532, allocations: 115.9 kB / 0.6842 GB, free: 101.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.9532, allocations: 40.58 kB / 0.6843 GB, free: 101.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.9533, allocations: 49.81 kB / 0.6843 GB, free: 101.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.9533, allocations: 314.8 kB / 0.6846 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.9535, allocations: 55.94 kB / 0.6847 GB, free: 101 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.9537, allocations: 110.8 kB / 0.6848 GB, free: 100.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.954, allocations: 179.1 kB / 0.6849 GB, free: 100.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.954, allocations: 0 / 0.6849 GB, free: 100.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004395/0.9544, allocations: 209.3 kB / 0.6851 GB, free: 100.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9545, allocations: 11.34 kB / 0.6852 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9545, allocations: 4 kB / 0.6852 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9545, allocations: 4 kB / 0.6852 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.9547, allocations: 47.89 kB / 0.6852 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9547, allocations: 8.219 kB / 0.6852 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.9548, allocations: 25.84 kB / 0.6852 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9548, allocations: 15.98 kB / 0.6853 GB, free: 100.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.368e-05/0.9549, allocations: 124.2 kB / 0.6854 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.955, allocations: 13.83 kB / 0.6854 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008686/0.9558, allocations: 1.135 MB / 0.6865 GB, free: 99.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.9559, allocations: 19.97 kB / 0.6865 GB, free: 99.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9559, allocations: 3.938 kB / 0.6865 GB, free: 99.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9559, allocations: 3.938 kB / 0.6865 GB, free: 99.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.9563, allocations: 0.5867 MB / 0.6871 GB, free: 98.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9563, allocations: 3.188 kB / 0.6871 GB, free: 98.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.9565, allocations: 31.97 kB / 0.6871 GB, free: 98.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9565, allocations: 4 kB / 0.6871 GB, free: 98.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.9565, allocations: 6.016 kB / 0.6871 GB, free: 98.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9565, allocations: 0 / 0.6871 GB, free: 98.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9565, allocations: 0 / 0.6871 GB, free: 98.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.9572, allocations: 0.8568 MB / 0.688 GB, free: 97.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.9572, allocations: 142.3 kB / 0.6881 GB, free: 97.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.9573, allocations: 0 / 0.6881 GB, free: 97.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.9575, allocations: 15.98 kB / 0.6881 GB, free: 97.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.9575, allocations: 23.91 kB / 0.6882 GB, free: 97.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9575, allocations: 4 kB / 0.6882 GB, free: 97.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.9576, allocations: 115.9 kB / 0.6883 GB, free: 97.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9576, allocations: 0 / 0.6883 GB, free: 97.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00332/0.9609, allocations: 1.449 MB / 0.6897 GB, free: 95.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006099/0.967, allocations: 2.931 MB / 0.6925 GB, free: 93.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000622/0.9676, allocations: 303 kB / 0.6928 GB, free: 92.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9676, allocations: 0 / 0.6928 GB, free: 92.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.9679, allocations: 212.8 kB / 0.693 GB, free: 92.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.9685, allocations: 48.69 kB / 0.6931 GB, free: 92.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.971, allocations: 1.295 MB / 0.6943 GB, free: 91.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.9712, allocations: 0.7884 MB / 0.6951 GB, free: 90.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.9713, allocations: 104.7 kB / 0.6952 GB, free: 90.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.9714, allocations: 87.41 kB / 0.6953 GB, free: 90.25 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.9714, allocations: 7.938 kB / 0.6953 GB, free: 90.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/1.049, allocations: 55.05 MB / 0.7491 GB, free: 35.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.37, allocations: 5 kB / 0.7491 GB, free: 35.15 MB / 494.1 MB " [Timeout remaining time 645] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.97312501585111] Failed to read output from testmodel.py, exit status != 0: 15.483285144902766 15.49816724 15.141188411 Calling exit ...