Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.0007989/0.0007989, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008132/0.0008132, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02941/0.02941, allocations: 7.525 MB / 266.7 MB, free: 6.176 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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.128e-06/4.128e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.832e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01353/0.01356, allocations: 16.26 MB / 408 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.03348, allocations: 28.58 MB / 436.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.03364, allocations: 0 / 436.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.03439, allocations: 378.1 kB / 436.9 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.03478, allocations: 151 kB / 437.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1644/0.1992, allocations: 10.16 MB / 447.2 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1996, allocations: 401.9 kB / 447.6 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.1996, allocations: 12.44 kB / 447.6 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.2, allocations: 245.8 kB / 447.9 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2001, allocations: 102.3 kB / 448 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.2001, allocations: 12.94 kB / 448 MB, free: 52.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009665/0.2098, allocations: 8.206 MB / 456.2 MB, free: 52.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.2099, allocations: 41.42 kB / 456.2 MB, free: 52.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.21, allocations: 74.86 kB / 456.3 MB, free: 52.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008099/0.2181, allocations: 4.893 MB / 461.2 MB, free: 51.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2181, allocations: 0 / 461.2 MB, free: 51.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2181, allocations: 0 / 461.2 MB, free: 51.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2181, allocations: 0 / 461.2 MB, free: 51.86 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001593/0.2197, allocations: 1.1 MB / 462.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2197, allocations: 10.28 kB / 462.3 MB, free: 51.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.2198, allocations: 55.77 kB / 462.4 MB, free: 51.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.2202, allocations: 87.33 kB / 462.4 MB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2204, allocations: 176.9 kB / 462.6 MB, free: 50.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2204, allocations: 9.969 kB / 462.6 MB, free: 50.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2204, allocations: 11.69 kB / 462.6 MB, free: 50.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.2208, allocations: 323.2 kB / 463 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2208, allocations: 0 / 463 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2208, allocations: 6.781 kB / 463 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2208, allocations: 3 kB / 463 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.2212, allocations: 232.5 kB / 463.2 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.2217, allocations: 0.876 MB / 464.1 MB, free: 50.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.222, allocations: 223 kB / 464.3 MB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2221, allocations: 144.7 kB / 464.4 MB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03378/0.2559, allocations: 14.6 MB / 479 MB, free: 49.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.256, allocations: 37.14 kB / 479.1 MB, free: 49.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 4.378e-06/0.256, allocations: 0 / 479.1 MB, free: 49.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001052/0.257, allocations: 484.6 kB / 479.5 MB, free: 49.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2571, allocations: 135.1 kB / 479.7 MB, free: 49.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2572, allocations: 177.5 kB / 479.8 MB, free: 49.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2572, allocations: 30.98 kB / 479.9 MB, free: 49.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.2573, allocations: 126.8 kB / 480 MB, free: 49.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.2573, allocations: 92.55 kB / 480.1 MB, free: 49.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.2574, allocations: 49.47 kB / 480.1 MB, free: 49.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.2574, allocations: 325.4 kB / 480.5 MB, free: 48.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2576, allocations: 115.2 kB / 480.6 MB, free: 48.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.2577, allocations: 167 kB / 480.7 MB, free: 48.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.2581, allocations: 290.6 kB / 481 MB, free: 48.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2581, allocations: 5.172 kB / 481 MB, free: 48.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000419/0.2585, allocations: 325 kB / 481.3 MB, free: 48.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2585, allocations: 8.062 kB / 481.3 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2586, allocations: 1.969 kB / 481.3 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2586, allocations: 9.219 kB / 481.4 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2587, allocations: 51.2 kB / 481.4 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2587, allocations: 2.438 kB / 481.4 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2588, allocations: 33.09 kB / 481.4 MB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2588, allocations: 15.38 kB / 481.5 MB, free: 48.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.656e-05/0.2589, allocations: 129.2 kB / 481.6 MB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.259, allocations: 22.2 kB / 481.6 MB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.2594, allocations: 381.6 kB / 482 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2594, allocations: 6.766 kB / 482 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2594, allocations: 5.031 kB / 482 MB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2594, allocations: 6.938 kB / 482 MB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2598, allocations: 275.4 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2598, allocations: 2.531 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2599, allocations: 43 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2599, allocations: 1.375 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2599, allocations: 7.406 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2599, allocations: 2.953 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2599, allocations: 4.875 kB / 482.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.2603, allocations: 0.6437 MB / 483 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.2604, allocations: 31.48 kB / 483 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2604, allocations: 5.797 kB / 483 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2605, allocations: 22.75 kB / 483 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.2606, allocations: 28.78 kB / 483.1 MB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2606, allocations: 6.469 kB / 483.1 MB, free: 47.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.2607, allocations: 131.9 kB / 483.2 MB, free: 47.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2607, allocations: 0 / 483.2 MB, free: 47.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2626, allocations: 0.8062 MB / 484 MB, free: 47.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.003265/0.2659, allocations: 2.392 MB / 486.4 MB, free: 46.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.2664, allocations: 275 kB / 486.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2664, allocations: 1.094 kB / 486.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2666, allocations: 146.5 kB / 486.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.2671, allocations: 99.31 kB / 486.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.2698, allocations: 3.072 MB / 490 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.783e-05/0.2699, allocations: 130.5 kB / 490.1 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.2701, allocations: 54.84 kB / 490.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.2702, allocations: 70.61 kB / 490.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2702, allocations: 3.406 kB / 490.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.3094, allocations: 28.24 MB / 0.5063 GB, free: 27.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.466, allocations: 6.562 kB / 0.5063 GB, free: 27.82 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.644674985669553] Failed to read output from testmodel.py, exit status != 0: 7.561610891483724 7.567383267 7.347818151 Calling exit ...