Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_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.0012/0.0012, allocations: 99.7 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.001318/0.001318, allocations: 177.3 kB / 15.94 MB, free: 228 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.442/2.442, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7788, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007712/0.7797, allocations: 316.8 kB / 0.9812 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.7818, allocations: 1.63 MB / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.7818, allocations: 0 / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.7819, allocations: 0 / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.7819, allocations: 0 / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.7826, allocations: 241.1 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.7828, allocations: 83.88 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.7828, allocations: 7.984 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.7829, allocations: 47.91 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.783, allocations: 55.92 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.783, allocations: 4 kB / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.7834, allocations: 255.6 kB / 0.9834 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.7835, allocations: 39.95 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.7835, allocations: 37.64 kB / 0.9835 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.7838, allocations: 171.7 kB / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.7838, allocations: 4 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7838, allocations: 3.938 kB / 0.9837 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7838, allocations: 0 / 0.9837 GB, free: 3.406 MB / 0.7325 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.0006078/0.7844, allocations: 425.4 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7844, allocations: 8.031 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.7845, allocations: 50.55 kB / 0.9841 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.7845, allocations: 7.906 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.7847, allocations: 171 kB / 0.9843 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7847, allocations: 8 kB / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.7847, allocations: 15.95 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.785, allocations: 214.6 kB / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7851, allocations: 4 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.7851, allocations: 4 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.7851, allocations: 4 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.7853, allocations: 175.7 kB / 0.9847 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.7856, allocations: 286 kB / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.7863, allocations: 411.8 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.7866, allocations: 203.3 kB / 0.9856 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7867, allocations: 42.45 kB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.7867, allocations: 4 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006042/0.7873, allocations: 386.3 kB / 0.986 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.7874, allocations: 187.9 kB / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.7874, allocations: 97.84 kB / 0.9863 GB, free: 428 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.7875, allocations: 29.7 kB / 0.9863 GB, free: 392 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.7875, allocations: 80.7 kB / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.7876, allocations: 106.5 kB / 0.9865 GB, free: 200 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.7876, allocations: 4 kB / 0.9865 GB, free: 196 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7877, allocations: 327 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.7879, allocations: 83.94 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.788, allocations: 137.6 kB / 0.987 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.7882, allocations: 107.9 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7882, allocations: 0 / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003853/0.7886, allocations: 293.6 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.7886, allocations: 4 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7886, allocations: 7.953 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7887, allocations: 0 / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.7889, allocations: 63.89 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7889, allocations: 7.938 kB / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.789, allocations: 15.84 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.789, allocations: 8 kB / 0.9875 GB, free: 15.12 MB / 0.7481 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.0001032/0.7891, allocations: 133.8 kB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.7892, allocations: 11.91 kB / 0.9876 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.7897, allocations: 361.3 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7897, allocations: 11.89 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7898, allocations: 8.109 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7898, allocations: 4 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.79, allocations: 257.3 kB / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.79, allocations: 0 / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.7902, allocations: 63.89 kB / 0.9883 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7902, allocations: 0 / 0.9883 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.7903, allocations: 12 kB / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7903, allocations: 7.938 kB / 0.9883 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7903, allocations: 15.88 kB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.7907, allocations: 387.2 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.7908, allocations: 120.9 kB / 0.9888 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.7909, allocations: 7.984 kB / 0.9888 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.791, allocations: 8 kB / 0.9888 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.791, allocations: 35.86 kB / 0.9889 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.791, allocations: 11.98 kB / 0.9889 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.7911, allocations: 75.28 kB / 0.9889 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7911, allocations: 0 / 0.9889 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003618/0.7914, allocations: 92 kB / 0.989 GB, free: 13.39 MB / 0.7481 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.001146/0.7926, allocations: 1.378 MB / 0.9904 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.793, allocations: 247.7 kB / 0.9906 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.793, allocations: 0 / 0.9906 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.7932, allocations: 143.7 kB / 0.9908 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.7933, allocations: 11.95 kB / 0.9908 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.794, allocations: 471.8 kB / 0.9912 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.7943, allocations: 0.7166 MB / 0.9919 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.7945, allocations: 109.4 kB / 0.992 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.7946, allocations: 47.41 kB / 0.9921 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7946, allocations: 3.938 kB / 0.9921 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4714/1.266, allocations: 3.75 MB / 0.9957 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.266, allocations: 247.4 kB / 0.996 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.9, allocations: 4 kB / 0.996 GB, free: 6.309 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat does not exist to compare? outputFormat=mat