Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.001102/0.001102, 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.001312/0.001312, allocations: 165.9 kB / 22.45 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.8875/0.8875, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001411/0.001411, allocations: 241.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6799/0.6799, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.696e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.2365/0.2365, allocations: 13.39 MB / 0.6593 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2397, allocations: 3.392 MB / 0.6627 GB, free: 46.94 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.2401, allocations: 24.28 kB / 0.6627 GB, free: 46.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.2406, allocations: 197.6 kB / 0.6629 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.2417, allocations: 0.6479 MB / 0.6635 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.2425, allocations: 402.4 kB / 0.6639 GB, free: 46.22 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2435, allocations: 1.109 MB / 0.665 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.2438, allocations: 259.2 kB / 0.6652 GB, free: 45.56 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.2447, allocations: 0.5195 MB / 0.6657 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.245, allocations: 276.3 kB / 0.666 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.245, allocations: 33.28 kB / 0.666 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.2454, allocations: 222.9 kB / 0.6662 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.2455, allocations: 102 kB / 0.6663 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2456, allocations: 146 kB / 0.6665 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.2463, allocations: 0.6199 MB / 0.6671 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2463, allocations: 1.062 kB / 0.6671 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2463, allocations: 4 kB / 0.6671 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.2463, allocations: 0 / 0.6671 GB, free: 44.81 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000762/0.247, allocations: 0.674 MB / 0.6677 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2471, allocations: 12.31 kB / 0.6678 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.2471, allocations: 61.69 kB / 0.6678 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.2473, allocations: 46.84 kB / 0.6679 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.2478, allocations: 414.7 kB / 0.6682 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2478, allocations: 19.19 kB / 0.6683 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2478, allocations: 36.84 kB / 0.6683 GB, free: 43.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.2482, allocations: 415.4 kB / 0.6687 GB, free: 43.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2482, allocations: 1.594 kB / 0.6687 GB, free: 43.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2483, allocations: 10.91 kB / 0.6687 GB, free: 43.63 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.2483, allocations: 14.7 kB / 0.6687 GB, free: 43.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.2486, allocations: 190.9 kB / 0.6689 GB, free: 43.57 MB / 0.5573 GB 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.0009964/0.2496, allocations: 1.141 MB / 0.67 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2498, allocations: 150.3 kB / 0.6702 GB, free: 42.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.2499, allocations: 62.58 kB / 0.6702 GB, free: 42.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.25, allocations: 15.19 kB / 0.6702 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.2502, allocations: 229.9 kB / 0.6705 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.2502, allocations: 2.25 kB / 0.6705 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.000371/0.2506, allocations: 230.1 kB / 0.6707 GB, free: 42.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2506, allocations: 55.5 kB / 0.6707 GB, free: 42.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.2508, allocations: 356.1 kB / 0.6711 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2508, allocations: 27.48 kB / 0.6711 GB, free: 42.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.2509, allocations: 233.6 kB / 0.6713 GB, free: 41.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2509, allocations: 52.06 kB / 0.6714 GB, free: 41.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.251, allocations: 57.16 kB / 0.6714 GB, free: 41.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.251, allocations: 339 kB / 0.6717 GB, free: 41.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2512, allocations: 99.89 kB / 0.6718 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2513, allocations: 174.1 kB / 0.672 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.2515, allocations: 239.6 kB / 0.6722 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2515, allocations: 1.031 kB / 0.6722 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003286/0.2518, allocations: 349.2 kB / 0.6726 GB, free: 40.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.2518, allocations: 33.08 kB / 0.6726 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2518, allocations: 4.891 kB / 0.6726 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2519, allocations: 3.719 kB / 0.6726 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.252, allocations: 57.64 kB / 0.6727 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.252, allocations: 5.562 kB / 0.6727 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2521, allocations: 44.41 kB / 0.6727 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2521, allocations: 12.94 kB / 0.6727 GB, free: 40.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.071e-05/0.2522, allocations: 158.7 kB / 0.6729 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2523, allocations: 37.02 kB / 0.6729 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.2525, allocations: 197.2 kB / 0.6731 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2525, allocations: 7.094 kB / 0.6731 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2525, allocations: 4 kB / 0.6731 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002146/0.2527, allocations: 485.4 kB / 0.6736 GB, free: 40.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.253, allocations: 291.7 kB / 0.6739 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.253, allocations: 0 / 0.6739 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.2531, allocations: 34.7 kB / 0.6739 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2531, allocations: 0 / 0.6739 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2531, allocations: 1.688 kB / 0.6739 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2531, allocations: 1.219 kB / 0.6739 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2531, allocations: 0 / 0.6739 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2534, allocations: 297.5 kB / 0.6742 GB, free: 39.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.2535, allocations: 47.77 kB / 0.6742 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2535, allocations: 5.562 kB / 0.6742 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2537, allocations: 17 kB / 0.6742 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2537, allocations: 15.97 kB / 0.6743 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2537, allocations: 14.02 kB / 0.6743 GB, free: 39.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001446/0.2539, allocations: 250 kB / 0.6745 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2539, allocations: 4 kB / 0.6745 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003092/0.2542, allocations: 131 kB / 0.6746 GB, free: 39.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005702/0.2547, allocations: 0.9061 MB / 0.6755 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.255, allocations: 256.7 kB / 0.6758 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.255, allocations: 5.562 kB / 0.6758 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.2551, allocations: 59.31 kB / 0.6758 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.2556, allocations: 220.5 kB / 0.676 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.2579, allocations: 3.105 MB / 0.6791 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.258, allocations: 184.5 kB / 0.6792 GB, free: 36.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.2582, allocations: 64.77 kB / 0.6793 GB, free: 36.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2583, allocations: 118.5 kB / 0.6794 GB, free: 36.33 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2583, allocations: 0 / 0.6794 GB, free: 36.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2868, allocations: 11.7 MB / 0.6909 GB, free: 34.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.344, allocations: 11.38 kB / 0.6909 GB, free: 34.27 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.933107701130211] Failed to read output from testmodel.py, exit status != 0: 7.4318932723253965 7.440104105 7.191988656 Calling exit ...