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.0008891/0.0008891, 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.001078/0.001078, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.883/0.883, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.02833/0.02833, allocations: 7.515 MB / 266.7 MB, free: 6.078 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.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 3.005e-06/3.005e-06, allocations: 0 / 391.7 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.299e-05, allocations: 4.953 kB / 391.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01399/0.01401, allocations: 16.48 MB / 408.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1465/0.1606, allocations: 9.853 MB / 418.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1607, allocations: 0 / 418.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.1607, allocations: 11.75 kB / 418.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000701/0.1614, allocations: 309.1 kB / 418.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.1727, allocations: 5.556 MB / 423.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1729, allocations: 148.4 kB / 424.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1729, allocations: 4.828 kB / 424.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1732, allocations: 126.8 kB / 424.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1733, allocations: 42.31 kB / 424.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1733, allocations: 5.5 kB / 424.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00814/0.1814, allocations: 5.53 MB / 429.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.1815, allocations: 19.27 kB / 429.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.1816, allocations: 32.25 kB / 429.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.1872, allocations: 3.337 MB / 433.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1872, allocations: 0 / 433.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.604e-06/0.1872, allocations: 5.656 kB / 433.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1872, allocations: 0 / 433.2 MB, free: 12.22 MB / 330.7 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.001281/0.1885, allocations: 0.748 MB / 433.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1886, allocations: 12.53 kB / 433.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.1886, allocations: 42.72 kB / 434 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1887, allocations: 25.56 kB / 434 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1889, allocations: 143 kB / 434.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1889, allocations: 5.531 kB / 434.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1889, allocations: 6.812 kB / 434.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1892, allocations: 94.03 kB / 434.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1892, allocations: 1.594 kB / 434.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1892, allocations: 4 kB / 434.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1892, allocations: 1.188 kB / 434.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1894, allocations: 108 kB / 434.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.1897, allocations: 288.6 kB / 434.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1899, allocations: 93.58 kB / 434.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.19, allocations: 64.61 kB / 434.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007959/0.198, allocations: 4.611 MB / 439.4 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.198, allocations: 34.5 kB / 439.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.198, allocations: 0 / 439.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005082/0.1985, allocations: 225.2 kB / 439.7 MB, free: 8.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.1985, allocations: 58.22 kB / 439.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.1986, allocations: 134 kB / 439.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1986, allocations: 25.7 kB / 439.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1986, allocations: 91.16 kB / 440 MB, free: 8.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1986, allocations: 26.34 kB / 440 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1987, allocations: 36.19 kB / 440 MB, free: 8.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.742e-05/0.1987, allocations: 318.8 kB / 440.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.1988, allocations: 46.3 kB / 440.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.1989, allocations: 48.8 kB / 440.4 MB, free: 8.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.199, allocations: 119.5 kB / 440.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.199, allocations: 0 / 440.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002116/0.1993, allocations: 139.8 kB / 440.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1993, allocations: 14.06 kB / 440.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1993, allocations: 0 / 440.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1993, allocations: 0 / 440.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1994, allocations: 33.19 kB / 440.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1994, allocations: 0 / 440.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.1994, allocations: 18.09 kB / 440.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1994, allocations: 2.156 kB / 440.7 MB, free: 7.852 MB / 330.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: 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 4.362e-05/0.1995, allocations: 113.1 kB / 440.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1995, allocations: 10.25 kB / 440.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.1999, allocations: 421 kB / 441.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1999, allocations: 3.062 kB / 441.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1999, allocations: 0 / 441.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1999, allocations: 0 / 441.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2, allocations: 259.3 kB / 441.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2, allocations: 0 / 441.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.2001, allocations: 29.45 kB / 441.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2001, allocations: 7.984 kB / 441.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2001, allocations: 6.844 kB / 441.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2001, allocations: 2.656 kB / 441.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2001, allocations: 3.938 kB / 441.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.2004, allocations: 449.4 kB / 442 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.2005, allocations: 27.17 kB / 442 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2005, allocations: 7.938 kB / 442.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.2005, allocations: 22.84 kB / 442.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2006, allocations: 10.2 kB / 442.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.2006, allocations: 2.875 kB / 442.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.2006, allocations: 109.3 kB / 442.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2006, allocations: 0 / 442.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009032/0.2015, allocations: 457.2 kB / 442.6 MB, free: 6.688 MB / 330.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: 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.00141/0.2029, allocations: 1.642 MB / 444.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.2032, allocations: 207.8 kB / 444.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2032, allocations: 0 / 444.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2033, allocations: 147.9 kB / 444.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2035, allocations: 34.47 kB / 444.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2048, allocations: 1.963 MB / 446.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.2049, allocations: 121 kB / 446.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.205, allocations: 19.64 kB / 446.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.205, allocations: 40.48 kB / 446.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.205, allocations: 0 / 446.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.2344, allocations: 17.25 MB / 464.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.251, allocations: 6.859 kB / 464.1 MB, free: 1.391 MB / 346.7 MB " [Timeout remaining time 653] (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: 9.067774427123368] Failed to read output from testmodel.py, exit status != 0: 7.339495846070349 7.348550217 7.159398267 Calling exit ...