Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_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.0009564/0.0009565, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.469/2.469, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 12 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6904, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01457/0.705, allocations: 13.2 MB / 0.994 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005556/0.7106, allocations: 3.407 MB / 0.9973 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/0.7113, allocations: 15.88 kB / 0.9974 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.7119, allocations: 151.1 kB / 0.9975 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.7135, allocations: 489.5 kB / 0.998 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.7145, allocations: 281.9 kB / 0.9982 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.7161, allocations: 1.251 MB / 0.9995 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.7165, allocations: 238.7 kB / 0.9997 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.717, allocations: 314.7 kB / 1 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.7174, allocations: 278.7 kB / 1 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.7174, allocations: 12 kB / 1 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.718, allocations: 155.6 kB / 1 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.7181, allocations: 71.67 kB / 1 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.7182, allocations: 101.5 kB / 1.001 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.7187, allocations: 421.2 kB / 1.001 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7187, allocations: 0 / 1.001 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7187, allocations: 0 / 1.001 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7188, allocations: 0 / 1.001 GB, free: 1.836 MB / 0.7481 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.001161/0.7199, allocations: 0.6833 MB / 1.002 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.72, allocations: 11.97 kB / 1.002 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.929e-05/0.7201, allocations: 66.53 kB / 1.002 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.7203, allocations: 47.48 kB / 1.002 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.721, allocations: 458.6 kB / 1.002 GB, free: 492 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.721, allocations: 20.56 kB / 1.002 GB, free: 468 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.7211, allocations: 27.91 kB / 1.002 GB, free: 440 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.7217, allocations: 322.2 kB / 1.003 GB, free: 100 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7217, allocations: 0 / 1.003 GB, free: 100 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.7218, allocations: 12 kB / 1.003 GB, free: 88 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.7218, allocations: 11.95 kB / 1.003 GB, free: 76 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.7223, allocations: 206.1 kB / 1.003 GB, free: 15.88 MB / 0.7637 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.001836/0.7242, allocations: 1.477 MB / 1.004 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.7246, allocations: 174.6 kB / 1.004 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.7248, allocations: 68.81 kB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.725, allocations: 93.11 kB / 1.005 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.7253, allocations: 132.5 kB / 1.005 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.7253, allocations: 0 / 1.005 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0006348/0.726, allocations: 251.2 kB / 1.005 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.726, allocations: 63.28 kB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.7264, allocations: 333.6 kB / 1.005 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.7265, allocations: 33.7 kB / 1.005 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7266, allocations: 215.8 kB / 1.006 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.7267, allocations: 59.19 kB / 1.006 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.7267, allocations: 4 kB / 1.006 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7269, allocations: 342.8 kB / 1.006 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.7271, allocations: 71.94 kB / 1.006 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7273, allocations: 153.4 kB / 1.006 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.7276, allocations: 119 kB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7276, allocations: 3.953 kB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005765/0.7281, allocations: 318.7 kB / 1.007 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.7282, allocations: 37.64 kB / 1.007 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7282, allocations: 4 kB / 1.007 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.7283, allocations: 4.312 kB / 1.007 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.7285, allocations: 59.91 kB / 1.007 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.7285, allocations: 4 kB / 1.007 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.7288, allocations: 43.67 kB / 1.007 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.7288, allocations: 15.98 kB / 1.007 GB, free: 11.57 MB / 0.7637 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.729, allocations: 161.8 kB / 1.007 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.729, allocations: 31.62 kB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.7295, allocations: 212.3 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.7295, allocations: 4 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7295, allocations: 4 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005326/0.7301, allocations: 487.8 kB / 1.008 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.7305, allocations: 349.4 kB / 1.008 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7305, allocations: 0 / 1.008 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.7307, allocations: 35.97 kB / 1.008 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.7307, allocations: 4 kB / 1.008 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.7308, allocations: 4 kB / 1.008 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.7308, allocations: 7.953 kB / 1.008 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7308, allocations: 3.938 kB / 1.008 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.7314, allocations: 299.7 kB / 1.008 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.7315, allocations: 128.7 kB / 1.008 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.7316, allocations: 11.98 kB / 1.008 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.7318, allocations: 15.98 kB / 1.008 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.7319, allocations: 27.92 kB / 1.008 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.732, allocations: 8 kB / 1.008 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000243/0.7322, allocations: 235.2 kB / 1.009 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7322, allocations: 0 / 1.009 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004281/0.7326, allocations: 120 kB / 1.009 GB, free: 9.289 MB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.7337, allocations: 0.9073 MB / 1.01 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.7342, allocations: 236.2 kB / 1.01 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7343, allocations: 0 / 1.01 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.7344, allocations: 71.89 kB / 1.01 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.7354, allocations: 212.2 kB / 1.01 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.7388, allocations: 2.127 MB / 1.012 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.7392, allocations: 0.7923 MB / 1.013 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.7395, allocations: 63.23 kB / 1.013 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.7397, allocations: 111.4 kB / 1.013 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.7397, allocations: 0 / 1.013 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.7639, allocations: 9.653 MB / 1.023 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.7642, allocations: 188.2 kB / 1.023 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.825, allocations: 0 / 1.023 GB, free: 10.98 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat does not exist to compare? outputFormat=mat