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.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.0007754/0.0007754, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007872/0.0007872, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 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 0.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02989/0.02989, allocations: 7.512 MB / 266.7 MB, free: 6.195 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: "" <> 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: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 0 / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.324e-05, allocations: 9.234 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01211/0.01214, allocations: 12.14 MB / 403.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.02533, allocations: 15.63 MB / 419.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.02549, allocations: 7.938 kB / 419.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.02569, allocations: 47.67 kB / 419.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.02581, allocations: 67.41 kB / 419.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0147/0.04051, allocations: 6.797 MB / 426.4 MB, free: 3.574 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.04076, allocations: 182.8 kB / 426.6 MB, free: 3.395 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.04081, allocations: 9.688 kB / 426.6 MB, free: 3.383 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.04099, allocations: 95.72 kB / 426.7 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.04107, allocations: 47.91 kB / 426.7 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.04108, allocations: 4 kB / 426.7 MB, free: 3.238 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.05634, allocations: 10.35 MB / 437.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.0564, allocations: 11.92 kB / 437.1 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.05653, allocations: 47.86 kB / 437.1 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.07186, allocations: 7.804 MB / 445 MB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.07187, allocations: 0 / 445 MB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.07187, allocations: 0 / 445 MB, free: 1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.07188, allocations: 0 / 445 MB, free: 1 MB / 410.7 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.1656/0.2375, allocations: 1.314 MB / 446.3 MB, free: 88.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2375, allocations: 10.25 kB / 446.3 MB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.2376, allocations: 40.59 kB / 446.3 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2377, allocations: 28.47 kB / 446.3 MB, free: 88.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2379, allocations: 160.6 kB / 446.5 MB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2379, allocations: 10.97 kB / 446.5 MB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.238, allocations: 13.44 kB / 446.5 MB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.2385, allocations: 317 kB / 446.8 MB, free: 88.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2385, allocations: 0 / 446.8 MB, free: 88.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2385, allocations: 6.562 kB / 446.8 MB, free: 88.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2385, allocations: 9.906 kB / 446.9 MB, free: 88.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.239, allocations: 311 kB / 447.2 MB, free: 88.36 MB / 410.7 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.000513/0.2395, allocations: 0.8116 MB / 448 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.24, allocations: 295.8 kB / 448.3 MB, free: 87.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2401, allocations: 82.69 kB / 448.3 MB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1948/0.4349, allocations: 122.7 MB / 0.5576 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4349, allocations: 42.5 kB / 0.5576 GB, free: 11.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.4349, allocations: 4 kB / 0.5576 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001164/0.4361, allocations: 493 kB / 0.5581 GB, free: 11.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4362, allocations: 102.8 kB / 0.5582 GB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.4363, allocations: 163.1 kB / 0.5584 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4363, allocations: 25.7 kB / 0.5584 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.4363, allocations: 115.8 kB / 0.5585 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4364, allocations: 39.62 kB / 0.5585 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.4364, allocations: 41.66 kB / 0.5586 GB, free: 10.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.4365, allocations: 326.8 kB / 0.5589 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4366, allocations: 59.23 kB / 0.559 GB, free: 10.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4367, allocations: 114 kB / 0.5591 GB, free: 10.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.437, allocations: 178.7 kB / 0.5592 GB, free: 10.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.437, allocations: 0 / 0.5592 GB, free: 10.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002985/0.4373, allocations: 205.3 kB / 0.5594 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4373, allocations: 4.219 kB / 0.5594 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4373, allocations: 11.94 kB / 0.5594 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4373, allocations: 0 / 0.5594 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4374, allocations: 51.95 kB / 0.5595 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4375, allocations: 0 / 0.5595 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.4375, allocations: 23.88 kB / 0.5595 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4376, allocations: 23.86 kB / 0.5595 GB, free: 9.805 MB / 426.7 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 9.237e-05/0.4376, allocations: 125.8 kB / 0.5597 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.4377, allocations: 19.91 kB / 0.5597 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.4385, allocations: 1.194 MB / 0.5608 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.4386, allocations: 15.97 kB / 0.5609 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4386, allocations: 4 kB / 0.5609 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4386, allocations: 0 / 0.5609 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.439, allocations: 0.5537 MB / 0.5614 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.439, allocations: 9.781 kB / 0.5614 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.4391, allocations: 39.95 kB / 0.5615 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4391, allocations: 4 kB / 0.5615 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4391, allocations: 0 / 0.5615 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4391, allocations: 4 kB / 0.5615 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4391, allocations: 0 / 0.5615 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.4397, allocations: 0.8796 MB / 0.5623 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.4397, allocations: 59.5 kB / 0.5624 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4397, allocations: 4 kB / 0.5624 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4399, allocations: 19.97 kB / 0.5624 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.4399, allocations: 15.97 kB / 0.5624 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4399, allocations: 7.938 kB / 0.5624 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.44, allocations: 115.2 kB / 0.5625 GB, free: 6.684 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.44, allocations: 0 / 0.5625 GB, free: 6.684 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003212/0.4432, allocations: 1.45 MB / 0.5639 GB, free: 5.23 MB / 426.7 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.00605/0.4492, allocations: 3.182 MB / 0.5671 GB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.4497, allocations: 306.7 kB / 0.5673 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4497, allocations: 0 / 0.5673 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4499, allocations: 225.7 kB / 0.5676 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.4503, allocations: 49.61 kB / 0.5676 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.4536, allocations: 3.01 MB / 0.5705 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4538, allocations: 190.3 kB / 0.5707 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.4539, allocations: 112.3 kB / 0.5708 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.454, allocations: 96.45 kB / 0.5709 GB, free: 14.07 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.454, allocations: 0 / 0.5709 GB, free: 14.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/0.6837, allocations: 56.11 MB / 0.6257 GB, free: 112.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.043/9.726, allocations: 2.578 kB / 0.6257 GB, free: 112.1 MB / 474.7 MB " [Timeout remaining time 650] (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: 11.64945028256625] Failed to read output from testmodel.py, exit status != 0: 9.841913611628115 9.854349329 9.780036152 Calling exit ...