Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.0009278/0.0009278, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009553/0.0009554, allocations: 177.3 kB / 15.95 MB, free: 216 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.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004531, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7201, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006672/0.7208, allocations: 324.9 kB / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.723, allocations: 1.619 MB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.723, allocations: 0 / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.723, allocations: 3.938 kB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.13e-05/0.7231, allocations: 0 / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.7239, allocations: 236.3 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.724, allocations: 91.3 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.7241, allocations: 1.25 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.7242, allocations: 54.64 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.7243, allocations: 50 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.7243, allocations: 5.562 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.7248, allocations: 251.1 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.7249, allocations: 47.23 kB / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.7249, allocations: 35.77 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.7252, allocations: 171.8 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7252, allocations: 0 / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7252, allocations: 0 / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7252, allocations: 1.406 kB / 0.9564 GB, free: 6.047 MB / 0.7169 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.0006527/0.7259, allocations: 427.1 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.726, allocations: 10.84 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.726, allocations: 44.97 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.7261, allocations: 14.39 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.7262, allocations: 169.5 kB / 0.957 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.7262, allocations: 7.719 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.7263, allocations: 11.78 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.7267, allocations: 213.2 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.7267, allocations: 1.156 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.7267, allocations: 5.219 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.7267, allocations: 4.219 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.7271, allocations: 185.2 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.7275, allocations: 283.1 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.7283, allocations: 409.7 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.7287, allocations: 201.8 kB / 0.9583 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7288, allocations: 41.88 kB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.7288, allocations: 3.938 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0007794/0.7296, allocations: 382.7 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.7297, allocations: 191.9 kB / 0.9589 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.7297, allocations: 91.89 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.7298, allocations: 30.77 kB / 0.959 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.7298, allocations: 80.7 kB / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.7299, allocations: 107.3 kB / 0.9592 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.7299, allocations: 5.094 kB / 0.9592 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/0.73, allocations: 330.6 kB / 0.9595 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.7302, allocations: 88.08 kB / 0.9596 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.7303, allocations: 138.5 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.7305, allocations: 117.9 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7306, allocations: 0 / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004808/0.731, allocations: 283.3 kB / 0.9601 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.7311, allocations: 9.406 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7311, allocations: 1.219 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.7311, allocations: 3.438 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.7314, allocations: 57.52 kB / 0.9602 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.7314, allocations: 7.031 kB / 0.9602 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.7315, allocations: 16.22 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.7315, allocations: 12.61 kB / 0.9602 GB, free: 2.852 MB / 0.7169 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 () * Number of clocked 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 0.00013/0.7317, allocations: 137.5 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.7317, allocations: 18.22 kB / 0.9604 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.7324, allocations: 358.3 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.7324, allocations: 4.344 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7324, allocations: 1.875 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.7324, allocations: 2 kB / 0.9607 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.7327, allocations: 252.9 kB / 0.9609 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7327, allocations: 2.094 kB / 0.9609 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.733, allocations: 61.33 kB / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.733, allocations: 3.75 kB / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.733, allocations: 15.83 kB / 0.961 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.733, allocations: 7.531 kB / 0.961 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.733, allocations: 1.125 kB / 0.961 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.7336, allocations: 404.1 kB / 0.9614 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.7338, allocations: 123.6 kB / 0.9615 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.7338, allocations: 11.31 kB / 0.9615 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.7339, allocations: 6.344 kB / 0.9616 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.734, allocations: 31.28 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.734, allocations: 12.05 kB / 0.9616 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.337e-05/0.734, allocations: 80.34 kB / 0.9617 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.734, allocations: 1.062 kB / 0.9617 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005056/0.7345, allocations: 93.73 kB / 0.9618 GB, free: 1.652 MB / 0.7169 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 () * Number of clocked 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.001338/0.7359, allocations: 1.375 MB / 0.9631 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.7363, allocations: 237.6 kB / 0.9633 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7364, allocations: 1.219 kB / 0.9633 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.7366, allocations: 144.8 kB / 0.9635 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.7367, allocations: 15.27 kB / 0.9635 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.7376, allocations: 472.3 kB / 0.9639 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.738, allocations: 0.7217 MB / 0.9646 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.7383, allocations: 114.9 kB / 0.9647 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.7384, allocations: 45.72 kB / 0.9648 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7384, allocations: 0 / 0.9648 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.7546, allocations: 3.758 MB / 0.9685 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.7548, allocations: 240 kB / 0.9687 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.458, allocations: 4 kB / 0.9687 GB, free: 13.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat does not exist to compare? outputFormat=mat