Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001602/0.001602, 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.001834/0.001834, allocations: 193.3 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7451 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.73 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3277, allocations: 159.9 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1929/0.5207, allocations: 163.2 MB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00622/0.5269, allocations: 4.581 MB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.5274, allocations: 11.94 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.5279, allocations: 127 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.5295, allocations: 0.5367 MB / 1.233 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.5317, allocations: 0.7665 MB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.5326, allocations: 0.5729 MB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.5331, allocations: 213.2 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.5342, allocations: 470.2 kB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.5349, allocations: 290.9 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.5349, allocations: 20 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.5369, allocations: 0.9938 MB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.537, allocations: 83.78 kB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.5372, allocations: 131.3 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5386, allocations: 0.7091 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5386, allocations: 3.984 kB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5387, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5387, allocations: 0 / 1.237 GB, free: 13.14 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.001126/0.5398, allocations: 0.5841 MB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5399, allocations: 12.03 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.5406, allocations: 79.48 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.541, allocations: 287.4 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5411, allocations: 16 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.5411, allocations: 23.91 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.5416, allocations: 283.4 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5416, allocations: 7.938 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.5417, allocations: 8 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5417, allocations: 11.94 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.5422, allocations: 205.4 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.5439, allocations: 1.249 MB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.5442, allocations: 169 kB / 1.24 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.5444, allocations: 108.2 kB / 1.24 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.5452, allocations: 335.3 kB / 1.24 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5453, allocations: 38.55 kB / 1.24 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.5453, allocations: 4 kB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008159/0.5461, allocations: 277.1 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.5462, allocations: 158.6 kB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.5465, allocations: 283.5 kB / 1.241 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5465, allocations: 33.69 kB / 1.241 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5466, allocations: 151.8 kB / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.5467, allocations: 47.38 kB / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.5468, allocations: 45.62 kB / 1.241 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5469, allocations: 338.8 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.5471, allocations: 67.94 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.5473, allocations: 150.2 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.5477, allocations: 211.5 kB / 1.242 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5477, allocations: 0 / 1.242 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005329/0.5482, allocations: 245.1 kB / 1.242 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5483, allocations: 4 kB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.5483, allocations: 4 kB / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5483, allocations: 0 / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.5485, allocations: 43.91 kB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5485, allocations: 0 / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5487, allocations: 43.86 kB / 1.242 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.5488, allocations: 11.94 kB / 1.242 GB, free: 7.227 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.0001381/0.5489, allocations: 153.7 kB / 1.242 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.5491, allocations: 23.72 kB / 1.242 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.5496, allocations: 189.8 kB / 1.243 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5496, allocations: 4 kB / 1.243 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5496, allocations: 0 / 1.243 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5496, allocations: 0 / 1.243 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5506, allocations: 0.8626 MB / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5506, allocations: 0 / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5508, allocations: 23.98 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.5508, allocations: 4.094 kB / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5508, allocations: 11.94 kB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.5508, allocations: 3.984 kB / 1.243 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5508, allocations: 4 kB / 1.243 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.5514, allocations: 335.3 kB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.5515, allocations: 116.8 kB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.5516, allocations: 8 kB / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.5517, allocations: 7.984 kB / 1.244 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.5518, allocations: 4 kB / 1.244 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5518, allocations: 8.062 kB / 1.244 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000241/0.5521, allocations: 241.9 kB / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5521, allocations: 0 / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004983/0.5526, allocations: 99.92 kB / 1.244 GB, free: 5 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.0006176/0.5532, allocations: 221.2 kB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.5536, allocations: 151.7 kB / 1.245 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5537, allocations: 0 / 1.245 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5538, allocations: 64.77 kB / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.5547, allocations: 146.1 kB / 1.245 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.5557, allocations: 0.5 MB / 1.245 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5561, allocations: 0.748 MB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.5563, allocations: 66.88 kB / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.5564, allocations: 23.44 kB / 1.246 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.5564, allocations: 0 / 1.246 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.5416/1.098, allocations: 5.8 MB / 1.252 GB, free: 185.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)