Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005934/0.005934, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001338/0.001338, allocations: 189.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 285.2 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.93/0.93, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 95.86 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4864, allocations: 86.98 MB / 0.7664 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1801/0.6665, allocations: 163.2 MB / 0.9258 GB, free: 32 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.6728, allocations: 4.579 MB / 0.9303 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.6733, allocations: 11.94 kB / 0.9303 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.6738, allocations: 131 kB / 0.9304 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.6752, allocations: 0.5406 MB / 0.9309 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.6771, allocations: 0.7697 MB / 0.9317 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000665/0.6778, allocations: 0.5729 MB / 0.9322 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.6782, allocations: 213.1 kB / 0.9324 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.6792, allocations: 466.2 kB / 0.9329 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.6798, allocations: 289.3 kB / 0.9332 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.6798, allocations: 20 kB / 0.9332 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6814, allocations: 1.002 MB / 0.9342 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.6816, allocations: 91.78 kB / 0.9342 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.6817, allocations: 123.4 kB / 0.9344 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6828, allocations: 0.7238 MB / 0.9351 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6828, allocations: 4 kB / 0.9351 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6828, allocations: 0 / 0.9351 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6829, allocations: 0 / 0.9351 GB, free: 6.508 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009934/0.6839, allocations: 0.6106 MB / 0.9357 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6839, allocations: 11.97 kB / 0.9357 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.6846, allocations: 83.67 kB / 0.9358 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.685, allocations: 287.6 kB / 0.936 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.685, allocations: 19.95 kB / 0.9361 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.6851, allocations: 24 kB / 0.9361 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.6856, allocations: 283.4 kB / 0.9363 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.6856, allocations: 0 / 0.9363 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6856, allocations: 8 kB / 0.9364 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6856, allocations: 11.94 kB / 0.9364 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.6861, allocations: 208.3 kB / 0.9366 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.6877, allocations: 1.238 MB / 0.9378 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.688, allocations: 177 kB / 0.9379 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.6882, allocations: 112.2 kB / 0.938 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/0.6889, allocations: 331.2 kB / 0.9384 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.689, allocations: 46.69 kB / 0.9384 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.689, allocations: 0 / 0.9384 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007491/0.6897, allocations: 273.3 kB / 0.9387 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.6898, allocations: 162.7 kB / 0.9388 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.6901, allocations: 283 kB / 0.9391 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.6901, allocations: 33.7 kB / 0.9391 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.6903, allocations: 147.9 kB / 0.9393 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.6903, allocations: 47.59 kB / 0.9393 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.6904, allocations: 37.7 kB / 0.9393 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6905, allocations: 342.8 kB / 0.9397 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.6907, allocations: 67.95 kB / 0.9397 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.6909, allocations: 146.9 kB / 0.9399 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.6913, allocations: 211.5 kB / 0.9401 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6913, allocations: 12 kB / 0.9401 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005033/0.6918, allocations: 237.2 kB / 0.9403 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6918, allocations: 8 kB / 0.9403 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6918, allocations: 0 / 0.9403 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6919, allocations: 8.188 kB / 0.9403 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.6921, allocations: 47.91 kB / 0.9404 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6921, allocations: 4 kB / 0.9404 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.6923, allocations: 31.77 kB / 0.9404 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.6923, allocations: 16.31 kB / 0.9404 GB, free: 0.5625 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001381/0.6924, allocations: 148.2 kB / 0.9406 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6926, allocations: 27.86 kB / 0.9406 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.6931, allocations: 177.9 kB / 0.9408 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6931, allocations: 11.88 kB / 0.9408 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6931, allocations: 0 / 0.9408 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6931, allocations: 11.98 kB / 0.9408 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.6941, allocations: 0.8433 MB / 0.9416 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6941, allocations: 8.156 kB / 0.9416 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.6942, allocations: 27.91 kB / 0.9416 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.6942, allocations: 7.938 kB / 0.9417 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.6942, allocations: 4 kB / 0.9417 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6942, allocations: 4 kB / 0.9417 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6942, allocations: 80 / 0.9417 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.6948, allocations: 343.6 kB / 0.942 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.6949, allocations: 112.9 kB / 0.9421 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.6949, allocations: 7.938 kB / 0.9421 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.6951, allocations: 7.984 kB / 0.9421 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.6951, allocations: 12.06 kB / 0.9421 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.6952, allocations: 7.984 kB / 0.9421 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002346/0.6954, allocations: 233.9 kB / 0.9424 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.6954, allocations: 0 / 0.9424 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004548/0.6959, allocations: 95.81 kB / 0.9424 GB, free: 14.35 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005527/0.6964, allocations: 227.2 kB / 0.9427 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.6968, allocations: 148.1 kB / 0.9428 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6969, allocations: 4.125 kB / 0.9428 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.697, allocations: 63.89 kB / 0.9429 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.6978, allocations: 138.7 kB / 0.943 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.6986, allocations: 0.5033 MB / 0.9435 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.699, allocations: 0.7558 MB / 0.9442 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.6991, allocations: 71.02 kB / 0.9443 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.6992, allocations: 23.44 kB / 0.9443 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6992, allocations: 0 / 0.9443 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of Templates: time 0.01008/0.7093, allocations: 5.826 MB / 0.95 GB, free: 6.613 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)