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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 105 kB / 16.36 MB, free: 6.426 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.001176/0.001176, allocations: 195.5 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2394, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002187/0.2416, allocations: 0.6 MB / 0.7854 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.2441, allocations: 1.741 MB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.2442, allocations: 0 / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.2442, allocations: 3.938 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-06/0.2442, allocations: 3.938 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2453, allocations: 306.6 kB / 0.7874 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.2455, allocations: 119.9 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.2455, allocations: 4 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.2456, allocations: 43.95 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2457, allocations: 55.86 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2457, allocations: 8 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4307/0.6764, allocations: 341.4 kB / 0.7879 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.6766, allocations: 37.58 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.6767, allocations: 45.39 kB / 0.788 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.6772, allocations: 278.8 kB / 0.7883 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6773, allocations: 0 / 0.7883 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6773, allocations: 0 / 0.7883 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6773, allocations: 0 / 0.7883 GB, free: 46.72 MB / 0.6544 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.0006539/0.6779, allocations: 437.7 kB / 0.7887 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.678, allocations: 7.875 kB / 0.7887 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.6781, allocations: 14 kB / 0.7887 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.6781, allocations: 169.2 kB / 0.7889 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6782, allocations: 11.81 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.6782, allocations: 20.72 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.6785, allocations: 213.2 kB / 0.7891 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6785, allocations: 5.812 kB / 0.7891 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.6785, allocations: 3.938 kB / 0.7891 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6786, allocations: 7.297 kB / 0.7891 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.6788, allocations: 178.8 kB / 0.7893 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.6791, allocations: 280.8 kB / 0.7896 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.6797, allocations: 405.8 kB / 0.7899 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.6799, allocations: 189.2 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/0.6803, allocations: 195.1 kB / 0.7903 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6803, allocations: 44.06 kB / 0.7903 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.6803, allocations: 1.125 kB / 0.7903 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006112/0.6809, allocations: 385.8 kB / 0.7907 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.681, allocations: 189 kB / 0.7909 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.115e-05/0.681, allocations: 92.98 kB / 0.791 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.6811, allocations: 30.27 kB / 0.791 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.6811, allocations: 87.48 kB / 0.7911 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.6812, allocations: 100.7 kB / 0.7912 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.6813, allocations: 59.11 kB / 0.7912 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.6813, allocations: 319.4 kB / 0.7916 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6815, allocations: 89.27 kB / 0.7916 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.6816, allocations: 136.3 kB / 0.7918 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.6819, allocations: 262.3 kB / 0.792 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6819, allocations: 0 / 0.792 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003914/0.6823, allocations: 291.1 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6824, allocations: 5.25 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6824, allocations: 2.844 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6824, allocations: 5.812 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6826, allocations: 56.02 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6826, allocations: 6 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.579e-05/0.6827, allocations: 23.42 kB / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.6828, allocations: 13.22 kB / 0.7924 GB, free: 44.43 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.6829, allocations: 134.9 kB / 0.7925 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.6829, allocations: 17.75 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.6835, allocations: 358.5 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6835, allocations: 7.438 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.6835, allocations: 4.688 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.6835, allocations: 2.016 kB / 0.7929 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.6837, allocations: 261.3 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6837, allocations: 5.312 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.6839, allocations: 59.94 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6839, allocations: 0 / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.6839, allocations: 14.45 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.684, allocations: 1.406 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.684, allocations: 3.562 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.6844, allocations: 342.1 kB / 0.7936 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.6844, allocations: 95.92 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.6844, allocations: 7.25 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.6845, allocations: 8.844 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.6846, allocations: 23.38 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.6846, allocations: 14.39 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.6846, allocations: 79.16 kB / 0.7938 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6846, allocations: 0 / 0.7938 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004294/0.6851, allocations: 94.31 kB / 0.7939 GB, free: 43.77 MB / 0.6544 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 (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.0005078/0.6856, allocations: 208.1 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.686, allocations: 258.3 kB / 0.7943 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.686, allocations: 3.438 kB / 0.7943 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.6862, allocations: 137.5 kB / 0.7944 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.6864, allocations: 20.69 kB / 0.7945 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.6869, allocations: 347.9 kB / 0.7948 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.687, allocations: 0.7123 MB / 0.7955 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.6873, allocations: 112.4 kB / 0.7956 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.6873, allocations: 27.38 kB / 0.7956 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.803e-06/0.6873, allocations: 0 / 0.7956 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.005615/0.693, allocations: 2.549 MB / 0.7981 GB, free: 42.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)