Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 68.69 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1773/0.4863, allocations: 163.2 MB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005931/0.4923, allocations: 4.592 MB / 1.232 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.4928, allocations: 15.88 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.4933, allocations: 123.1 kB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.495, allocations: 0.5328 MB / 1.233 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4968, allocations: 0.7618 MB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.4976, allocations: 0.573 MB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.4981, allocations: 217.1 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.4992, allocations: 462.2 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.4998, allocations: 298.9 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.4999, allocations: 16 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.5017, allocations: 0.9938 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.5018, allocations: 91.73 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.502, allocations: 123.3 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5033, allocations: 0.7091 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5033, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5034, allocations: 3.984 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5034, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 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.001119/0.5045, allocations: 0.588 MB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5045, allocations: 8.031 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.5053, allocations: 91.41 kB / 1.238 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.5057, allocations: 279.4 kB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5057, allocations: 16 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.5058, allocations: 19.91 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.5063, allocations: 291.4 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5063, allocations: 0 / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.5063, allocations: 12 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5064, allocations: 11.94 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.5068, allocations: 205.4 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5084, allocations: 1.245 MB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.5088, allocations: 173 kB / 1.24 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.509, allocations: 116.4 kB / 1.24 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007757/0.5098, allocations: 339.1 kB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5098, allocations: 38.55 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.5098, allocations: 0 / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.000791/0.5106, allocations: 277.5 kB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.5107, allocations: 158.2 kB / 1.241 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.511, allocations: 287 kB / 1.241 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.511, allocations: 29.7 kB / 1.241 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5111, allocations: 151.8 kB / 1.241 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.5112, allocations: 35.45 kB / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.5113, allocations: 49.61 kB / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5114, allocations: 342.8 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5116, allocations: 71.94 kB / 1.241 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.5118, allocations: 142.4 kB / 1.242 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.5123, allocations: 211.5 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5123, allocations: 4 kB / 1.242 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005521/0.5128, allocations: 241.1 kB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5129, allocations: 8 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5129, allocations: 256 / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.5129, allocations: 8 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5131, allocations: 43.84 kB / 1.242 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5131, allocations: 4 kB / 1.242 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.5133, allocations: 35.67 kB / 1.242 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.5134, allocations: 11.94 kB / 1.242 GB, free: 7.141 MB / 0.9981 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.0001417/0.5135, allocations: 149.7 kB / 1.242 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5137, allocations: 23.72 kB / 1.242 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.5142, allocations: 194.2 kB / 1.243 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5142, allocations: 3.938 kB / 1.243 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5142, allocations: 4 kB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5142, allocations: 0 / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5153, allocations: 0.8549 MB / 1.243 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5153, allocations: 8 kB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5154, allocations: 23.92 kB / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5154, allocations: 7.938 kB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5155, allocations: 0 / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5155, allocations: 7.984 kB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5155, allocations: 0 / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.5161, allocations: 335.6 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5162, allocations: 112.7 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.5162, allocations: 8.109 kB / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.5164, allocations: 11.98 kB / 1.244 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5165, allocations: 11.92 kB / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.5165, allocations: 4 kB / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002301/0.5167, allocations: 237.9 kB / 1.244 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5167, allocations: 0 / 1.244 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004824/0.5172, allocations: 99.92 kB / 1.244 GB, free: 4.918 MB / 0.9981 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.0006066/0.5178, allocations: 216.8 kB / 1.244 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.5183, allocations: 156 kB / 1.245 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5183, allocations: 0 / 1.245 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.5185, allocations: 63.89 kB / 1.245 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.5193, allocations: 145 kB / 1.245 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.5202, allocations: 0.5 MB / 1.245 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5205, allocations: 0.7558 MB / 1.246 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.5207, allocations: 70.86 kB / 1.246 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.5208, allocations: 27.44 kB / 1.246 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5208, allocations: 0 / 1.246 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.5331/1.054, allocations: 5.787 MB / 1.252 GB, free: 185.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)