Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.00157/0.00157, allocations: 107.2 kB / 16.45 MB, free: 6.504 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.001483/0.001483, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 175.8 MB / 478.4 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 64.58 kB / 0.6652 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.199, allocations: 94.54 MB / 0.7575 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.3661/0.5651, allocations: 14.56 MB / 0.7717 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005858/0.5709, allocations: 3.648 MB / 0.7753 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.572, allocations: 17 kB / 0.7753 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.5729, allocations: 215.7 kB / 0.7755 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.5756, allocations: 0.6198 MB / 0.7761 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.5771, allocations: 396.8 kB / 0.7765 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.5793, allocations: 1.084 MB / 0.7775 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.5798, allocations: 268 kB / 0.7778 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.5812, allocations: 431.7 kB / 0.7782 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.5817, allocations: 327.2 kB / 0.7785 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.5817, allocations: 32.34 kB / 0.7786 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.5825, allocations: 264.7 kB / 0.7788 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.5826, allocations: 102.8 kB / 0.7789 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.5828, allocations: 213 kB / 0.7791 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.5838, allocations: 0.5921 MB / 0.7797 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5838, allocations: 0 / 0.7797 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5839, allocations: 3.938 kB / 0.7797 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5839, allocations: 7.938 kB / 0.7797 GB, free: 12.07 MB / 0.5919 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.001354/0.5852, allocations: 0.7595 MB / 0.7804 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5853, allocations: 10.78 kB / 0.7805 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.563e-05/0.5853, allocations: 60.94 kB / 0.7805 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.5855, allocations: 51.39 kB / 0.7806 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.5864, allocations: 470 kB / 0.781 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.5864, allocations: 20 kB / 0.781 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.5865, allocations: 31.61 kB / 0.7811 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.5871, allocations: 308.3 kB / 0.7813 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5872, allocations: 2.188 kB / 0.7814 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.5872, allocations: 14.25 kB / 0.7814 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5872, allocations: 6.844 kB / 0.7814 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.5877, allocations: 195.1 kB / 0.7816 GB, free: 10.78 MB / 0.5919 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.002121/0.5898, allocations: 1.499 MB / 0.783 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.5902, allocations: 148.8 kB / 0.7832 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.5904, allocations: 71.97 kB / 0.7832 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.5906, allocations: 86.7 kB / 0.7833 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.5909, allocations: 122.9 kB / 0.7834 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.5909, allocations: 0 / 0.7834 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006145/0.5915, allocations: 244.9 kB / 0.7837 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.5915, allocations: 55.06 kB / 0.7837 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.5919, allocations: 352.8 kB / 0.7841 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.592, allocations: 31.36 kB / 0.7841 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5921, allocations: 217.8 kB / 0.7843 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.5922, allocations: 57.61 kB / 0.7843 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.5923, allocations: 55.78 kB / 0.7844 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5925, allocations: 344.6 kB / 0.7847 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.5926, allocations: 72.38 kB / 0.7848 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.5929, allocations: 144.7 kB / 0.7849 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.5933, allocations: 247.8 kB / 0.7852 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5933, allocations: 5.359 kB / 0.7852 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005921/0.5939, allocations: 314.1 kB / 0.7855 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.594, allocations: 41.88 kB / 0.7855 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.594, allocations: 1.219 kB / 0.7855 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.594, allocations: 4.25 kB / 0.7855 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5942, allocations: 58.3 kB / 0.7856 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5942, allocations: 5.266 kB / 0.7856 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.5944, allocations: 27.95 kB / 0.7856 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.5945, allocations: 18.56 kB / 0.7856 GB, free: 7.809 MB / 0.5919 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 0.0001883/0.5947, allocations: 169.2 kB / 0.7858 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.5947, allocations: 42.05 kB / 0.7858 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.5952, allocations: 194.2 kB / 0.786 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5952, allocations: 3.938 kB / 0.786 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5952, allocations: 0 / 0.786 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005277/0.5957, allocations: 489.9 kB / 0.7865 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.5962, allocations: 350.8 kB / 0.7868 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5962, allocations: 0 / 0.7868 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5964, allocations: 29.16 kB / 0.7868 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.5964, allocations: 3.938 kB / 0.7869 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5964, allocations: 8.203 kB / 0.7869 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5964, allocations: 6.109 kB / 0.7869 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5964, allocations: 0 / 0.7869 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.597, allocations: 289.1 kB / 0.7871 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.5971, allocations: 125.2 kB / 0.7873 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.5972, allocations: 5.469 kB / 0.7873 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.5974, allocations: 17.62 kB / 0.7873 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.5975, allocations: 17.94 kB / 0.7873 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.5975, allocations: 12.48 kB / 0.7873 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002634/0.5978, allocations: 246 kB / 0.7875 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5978, allocations: 0 / 0.7875 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004427/0.5982, allocations: 132.7 kB / 0.7877 GB, free: 6.355 MB / 0.5919 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.001176/0.5994, allocations: 0.9135 MB / 0.7886 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.5998, allocations: 216.9 kB / 0.7888 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5998, allocations: 0 / 0.7888 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.6, allocations: 67.56 kB / 0.7888 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/0.6009, allocations: 207.8 kB / 0.789 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.6056, allocations: 3.083 MB / 0.792 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.6062, allocations: 0.7861 MB / 0.7928 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.6065, allocations: 67.53 kB / 0.7929 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.6067, allocations: 118.9 kB / 0.793 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6067, allocations: 0.5312 kB / 0.793 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.6464, allocations: 10.23 MB / 0.803 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.974, allocations: 12.62 kB / 0.803 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.647021085955203] Failed to read output from testmodel.py, exit status != 0: 9.049539871979505 9.071468502 8.483161554 Calling exit ...