Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 194.2 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6858/0.6858, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 67.5 kB / 0.5012 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3138, allocations: 80.2 MB / 0.5795 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01276/0.3266, allocations: 14.4 MB / 0.5935 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.3315, allocations: 3.673 MB / 0.5971 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.3319, allocations: 18.72 kB / 0.5972 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.3325, allocations: 164.9 kB / 0.5973 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.3339, allocations: 0.5462 MB / 0.5978 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.3348, allocations: 354.2 kB / 0.5982 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3362, allocations: 1.458 MB / 0.5996 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.3366, allocations: 281.8 kB / 0.5999 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.337, allocations: 320.2 kB / 0.6002 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3373, allocations: 307.9 kB / 0.6005 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3374, allocations: 18.16 kB / 0.6005 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.3379, allocations: 250.9 kB / 0.6007 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.338, allocations: 68.34 kB / 0.6008 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3382, allocations: 202.3 kB / 0.601 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.3388, allocations: 0.584 MB / 0.6016 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3388, allocations: 1.531 kB / 0.6016 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3388, allocations: 0 / 0.6016 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.3388, allocations: 0 / 0.6016 GB, free: 5.273 MB / 446.1 MB 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.0009683/0.3398, allocations: 0.7459 MB / 0.6023 GB, free: 4.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3399, allocations: 10.19 kB / 0.6023 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.3399, allocations: 63.78 kB / 0.6024 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3401, allocations: 49.56 kB / 0.6024 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.3407, allocations: 484.4 kB / 0.6029 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3407, allocations: 19.44 kB / 0.6029 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.3408, allocations: 25.19 kB / 0.6029 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3413, allocations: 313.2 kB / 0.6032 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3413, allocations: 1.562 kB / 0.6032 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.3413, allocations: 14.48 kB / 0.6032 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3414, allocations: 11.84 kB / 0.6032 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3418, allocations: 189.6 kB / 0.6034 GB, free: 3.777 MB / 446.1 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.001497/0.3433, allocations: 1.48 MB / 0.6049 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.3437, allocations: 154.7 kB / 0.605 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3439, allocations: 65.52 kB / 0.6051 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.344, allocations: 88.56 kB / 0.6052 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3443, allocations: 131.1 kB / 0.6053 GB, free: 2.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3443, allocations: 7.938 kB / 0.6053 GB, free: 2.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005676/0.3449, allocations: 230.4 kB / 0.6055 GB, free: 1.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3449, allocations: 54 kB / 0.6056 GB, free: 1.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3452, allocations: 343.7 kB / 0.6059 GB, free: 1.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3453, allocations: 31.92 kB / 0.6059 GB, free: 1.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3454, allocations: 223.8 kB / 0.6061 GB, free: 1.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3455, allocations: 50.02 kB / 0.6062 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.3455, allocations: 57.64 kB / 0.6062 GB, free: 1.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3456, allocations: 343.2 kB / 0.6066 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3458, allocations: 73.08 kB / 0.6066 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3461, allocations: 147.8 kB / 0.6068 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3465, allocations: 241.4 kB / 0.607 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3465, allocations: 1.156 kB / 0.607 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005439/0.347, allocations: 319.8 kB / 0.6073 GB, free: 464 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3471, allocations: 32.3 kB / 0.6073 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3471, allocations: 3.312 kB / 0.6073 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3471, allocations: 3.312 kB / 0.6073 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3473, allocations: 58.78 kB / 0.6074 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.3473, allocations: 3.531 kB / 0.6074 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.3476, allocations: 46.16 kB / 0.6075 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3476, allocations: 9.156 kB / 0.6075 GB, free: 384 kB / 446.1 MB 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.0001375/0.3478, allocations: 155.2 kB / 0.6076 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.3478, allocations: 44.78 kB / 0.6077 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.3482, allocations: 198.2 kB / 0.6078 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3482, allocations: 2.406 kB / 0.6078 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3483, allocations: 0 / 0.6078 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004313/0.3487, allocations: 488.3 kB / 0.6083 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.3491, allocations: 354 kB / 0.6086 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3491, allocations: 3.938 kB / 0.6086 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3492, allocations: 32.55 kB / 0.6087 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3492, allocations: 0 / 0.6087 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3493, allocations: 10.27 kB / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3493, allocations: 0 / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3493, allocations: 1.469 kB / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.3498, allocations: 275.4 kB / 0.609 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3499, allocations: 134.2 kB / 0.6091 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.35, allocations: 13.11 kB / 0.6091 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3502, allocations: 12.92 kB / 0.6091 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.3503, allocations: 23.22 kB / 0.6091 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3503, allocations: 5.531 kB / 0.6091 GB, free: 14.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3505, allocations: 242.5 kB / 0.6094 GB, free: 14.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3506, allocations: 0 / 0.6094 GB, free: 14.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.3509, allocations: 115.8 kB / 0.6095 GB, free: 14.74 MB / 462.1 MB 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.0009325/0.3519, allocations: 0.9096 MB / 0.6104 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3523, allocations: 224.5 kB / 0.6106 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3523, allocations: 0.625 kB / 0.6106 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3525, allocations: 72.78 kB / 0.6106 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/0.3534, allocations: 204.1 kB / 0.6108 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.3572, allocations: 3.139 MB / 0.6139 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3575, allocations: 0.7911 MB / 0.6147 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.3578, allocations: 71.55 kB / 0.6147 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3579, allocations: 118.4 kB / 0.6149 GB, free: 10.44 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3579, allocations: 4 kB / 0.6149 GB, free: 10.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.784/3.142, allocations: 9.439 MB / 0.6241 GB, free: 3.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/3.143, allocations: 182.2 kB / 0.6243 GB, free: 3.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/5.358, allocations: 0 / 0.6243 GB, free: 3.246 MB / 462.1 MB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)