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.001278/0.001278, allocations: 119 kB / 17.17 MB, free: 5.906 MB / 14.72 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.001376/0.001376, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.002426/0.002426, allocations: 286.9 kB / 309.8 MB, free: 3.508 MB / 238.1 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 1.047/1.047, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 108.2 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4873, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01526/0.5026, allocations: 14.62 MB / 0.8421 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.5081, allocations: 3.66 MB / 0.8456 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.5086, allocations: 28.91 kB / 0.8457 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.5093, allocations: 210.5 kB / 0.8459 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.5107, allocations: 0.6139 MB / 0.8465 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.5117, allocations: 397 kB / 0.8468 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.513, allocations: 1.081 MB / 0.8479 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.5135, allocations: 268.2 kB / 0.8481 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.5145, allocations: 405.9 kB / 0.8485 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.515, allocations: 328.4 kB / 0.8488 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.515, allocations: 32.97 kB / 0.8489 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.5156, allocations: 278 kB / 0.8491 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.5158, allocations: 102.3 kB / 0.8492 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.516, allocations: 218.4 kB / 0.8494 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.5171, allocations: 0.6145 MB / 0.85 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5171, allocations: 0 / 0.85 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5171, allocations: 0.5 kB / 0.85 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5171, allocations: 0.7812 kB / 0.85 GB, free: 3.777 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.001383/0.5185, allocations: 0.7612 MB / 0.8508 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5185, allocations: 13.81 kB / 0.8508 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.277e-05/0.5185, allocations: 6.938 kB / 0.8508 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.052e-05/0.5186, allocations: 61.98 kB / 0.8509 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.5188, allocations: 46.81 kB / 0.8509 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.5197, allocations: 478.7 kB / 0.8514 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.5197, allocations: 24.14 kB / 0.8514 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.5198, allocations: 25.16 kB / 0.8514 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.5204, allocations: 310.3 kB / 0.8517 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5204, allocations: 7.922 kB / 0.8517 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.5205, allocations: 15.22 kB / 0.8517 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.5205, allocations: 8.438 kB / 0.8517 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.521, allocations: 194.5 kB / 0.8519 GB, free: 2.473 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.002225/0.5233, allocations: 1.483 MB / 0.8534 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.5238, allocations: 144.2 kB / 0.8535 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.5239, allocations: 65.67 kB / 0.8536 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.5241, allocations: 85.94 kB / 0.8537 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.5244, allocations: 131.4 kB / 0.8538 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.5244, allocations: 0 / 0.8538 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006767/0.5251, allocations: 235 kB / 0.854 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5251, allocations: 55.36 kB / 0.8541 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.5256, allocations: 362.6 kB / 0.8544 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.5256, allocations: 32.73 kB / 0.8544 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.5258, allocations: 220.9 kB / 0.8546 GB, free: 464 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.5258, allocations: 54.47 kB / 0.8547 GB, free: 420 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.5259, allocations: 50.77 kB / 0.8547 GB, free: 388 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5261, allocations: 345 kB / 0.8551 GB, free: 52 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.5263, allocations: 69.55 kB / 0.8551 GB, free: 32 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.5266, allocations: 149.4 kB / 0.8553 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.5271, allocations: 247.2 kB / 0.8555 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5271, allocations: 1.062 kB / 0.8555 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006359/0.5277, allocations: 310.2 kB / 0.8558 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.5277, allocations: 34.48 kB / 0.8559 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5277, allocations: 7.047 kB / 0.8559 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5278, allocations: 8.156 kB / 0.8559 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.528, allocations: 58.3 kB / 0.8559 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.528, allocations: 4.984 kB / 0.8559 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.5283, allocations: 40.94 kB / 0.856 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.5283, allocations: 8.844 kB / 0.856 GB, free: 15.51 MB / 0.6075 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.0001744/0.5285, allocations: 165.3 kB / 0.8561 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.5285, allocations: 36.56 kB / 0.8562 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.529, allocations: 192.1 kB / 0.8564 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.529, allocations: 2.188 kB / 0.8564 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5291, allocations: 0 / 0.8564 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005574/0.5296, allocations: 488.1 kB / 0.8568 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.5301, allocations: 353.1 kB / 0.8572 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5301, allocations: 7.938 kB / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5303, allocations: 30.83 kB / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.5303, allocations: 1.094 kB / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.5303, allocations: 5.703 kB / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5303, allocations: 1.766 kB / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5303, allocations: 0 / 0.8572 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.5309, allocations: 291.8 kB / 0.8575 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.5311, allocations: 129.2 kB / 0.8576 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.5311, allocations: 15.2 kB / 0.8576 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.5314, allocations: 12.91 kB / 0.8576 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.5314, allocations: 17.23 kB / 0.8576 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5315, allocations: 6.406 kB / 0.8577 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002879/0.5317, allocations: 251.6 kB / 0.8579 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5317, allocations: 0 / 0.8579 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004838/0.5322, allocations: 129.5 kB / 0.858 GB, free: 14.06 MB / 0.6075 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.001193/0.5334, allocations: 0.903 MB / 0.8589 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.534, allocations: 225.1 kB / 0.8591 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.534, allocations: 0.9062 kB / 0.8591 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.5341, allocations: 70.38 kB / 0.8592 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.5351, allocations: 220.8 kB / 0.8594 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.5397, allocations: 3.06 MB / 0.8624 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.5401, allocations: 0.7941 MB / 0.8632 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.5404, allocations: 61.28 kB / 0.8632 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.5406, allocations: 122 kB / 0.8633 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.5406, allocations: 0 / 0.8633 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.5743, allocations: 10.29 MB / 0.8734 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.911/9.486, allocations: 18.78 kB / 0.8734 GB, free: 5.359 MB / 0.6075 GB " [Timeout remaining time 650] (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: 13.330443451995961] Failed to read output from testmodel.py, exit status != 0: 9.617459813016467 9.638842618 9.11731196 Calling exit ...