Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 178.7 kB / 371.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.2 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 90.53 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.97e-05/4.98e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.954/1.247, allocations: 141.4 MB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.247, allocations: 83.05 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0394/1.286, allocations: 14.88 MB / 1.133 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.286, allocations: 0 / 1.133 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.278e-06/1.286, allocations: 4 kB / 1.133 GB, free: 34.77 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008558/1.287, allocations: 442.8 kB / 1.133 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.287, allocations: 8.031 kB / 1.133 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/1.287, allocations: 42.38 kB / 1.133 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/1.288, allocations: 13.88 kB / 1.133 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/1.288, allocations: 171 kB / 1.133 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.288, allocations: 11.2 kB / 1.133 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/1.288, allocations: 15.62 kB / 1.133 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/1.288, allocations: 218.8 kB / 1.134 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.288, allocations: 3.516 kB / 1.134 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.288, allocations: 3.938 kB / 1.134 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/1.288, allocations: 4 kB / 1.134 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/1.288, allocations: 171.3 kB / 1.134 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/1.289, allocations: 288.8 kB / 1.134 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/1.29, allocations: 406.2 kB / 1.134 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/1.29, allocations: 175.1 kB / 1.135 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/1.29, allocations: 200.4 kB / 1.135 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.29, allocations: 44.44 kB / 1.135 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/1.29, allocations: 0 / 1.135 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0005093/1.291, allocations: 280.3 kB / 1.135 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.291, allocations: 187.9 kB / 1.135 GB, free: 32.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.124e-05/1.291, allocations: 85 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/1.291, allocations: 37.39 kB / 1.135 GB, free: 32.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/1.291, allocations: 80.7 kB / 1.135 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/1.291, allocations: 98.83 kB / 1.135 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/1.291, allocations: 3.688 kB / 1.136 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/1.291, allocations: 322.1 kB / 1.136 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.291, allocations: 80.52 kB / 1.136 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/1.291, allocations: 135.9 kB / 1.136 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/1.292, allocations: 111.7 kB / 1.136 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.292, allocations: 4 kB / 1.136 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004217/1.292, allocations: 281 kB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.292, allocations: 4 kB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.292, allocations: 4.656 kB / 1.136 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.292, allocations: 4.75 kB / 1.136 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.292, allocations: 54.16 kB / 1.136 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.292, allocations: 4.703 kB / 1.136 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/1.292, allocations: 24.16 kB / 1.136 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/1.292, allocations: 14.17 kB / 1.137 GB, free: 31.21 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 9.286e-05/1.293, allocations: 118.2 kB / 1.137 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/1.293, allocations: 21.27 kB / 1.137 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/1.293, allocations: 358.3 kB / 1.137 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.293, allocations: 4 kB / 1.137 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.293, allocations: 3.938 kB / 1.137 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.293, allocations: 8 kB / 1.137 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.293, allocations: 247.3 kB / 1.137 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.293, allocations: 3.938 kB / 1.137 GB, free: 30.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/1.294, allocations: 59.31 kB / 1.137 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.294, allocations: 3.953 kB / 1.137 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.294, allocations: 16.27 kB / 1.137 GB, free: 30.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/1.294, allocations: 3.938 kB / 1.137 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.294, allocations: 4 kB / 1.137 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/1.294, allocations: 398.3 kB / 1.138 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/1.294, allocations: 96.95 kB / 1.138 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/1.294, allocations: 11.05 kB / 1.138 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/1.294, allocations: 11.39 kB / 1.138 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/1.294, allocations: 22.22 kB / 1.138 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/1.294, allocations: 11.47 kB / 1.138 GB, free: 30.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.1e-05/1.295, allocations: 75.28 kB / 1.138 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/1.295, allocations: 0 / 1.138 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000626/1.295, allocations: 114.1 kB / 1.138 GB, free: 29.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001401/1.297, allocations: 1.382 MB / 1.139 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003715/1.297, allocations: 241 kB / 1.14 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.297, allocations: 0 / 1.14 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/1.297, allocations: 138 kB / 1.14 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/1.297, allocations: 19.78 kB / 1.14 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/1.298, allocations: 384.1 kB / 1.14 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/1.298, allocations: 0.7144 MB / 1.141 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002639/1.298, allocations: 109.1 kB / 1.141 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/1.299, allocations: 42.06 kB / 1.141 GB, free: 27.17 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/1.299, allocations: 4 kB / 1.141 GB, free: 27.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/1.318, allocations: 3.669 MB / 1.145 GB, free: 25.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.318, allocations: 199.6 kB / 1.145 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.069, allocations: 0 / 1.145 GB, free: 24.91 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)