Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006207/0.006207, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001154/0.001155, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.664/1.664, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.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.001434/0.001434, allocations: 67.91 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.787/1.032, allocations: 163.3 MB / 0.9876 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006784/1.038, allocations: 4.623 MB / 0.9921 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/1.039, allocations: 8.719 kB / 0.9921 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/1.04, allocations: 129.4 kB / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/1.042, allocations: 0.5302 MB / 0.9927 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/1.044, allocations: 0.7787 MB / 0.9935 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008545/1.045, allocations: 0.5705 MB / 0.9941 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/1.045, allocations: 205.4 kB / 0.9943 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/1.046, allocations: 460.3 kB / 0.9947 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/1.047, allocations: 287.1 kB / 0.995 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/1.047, allocations: 18.34 kB / 0.995 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/1.049, allocations: 0.9998 MB / 0.996 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/1.049, allocations: 98.78 kB / 0.9961 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/1.049, allocations: 123.9 kB / 0.9962 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/1.05, allocations: 0.7085 MB / 0.9969 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/1.05, allocations: 0 / 0.9969 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.677e-06/1.05, allocations: 0 / 0.9969 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.635e-06/1.05, allocations: 7.875 kB / 0.9969 GB, free: 7.848 MB / 0.7481 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.001077/1.051, allocations: 0.5897 MB / 0.9974 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.051, allocations: 9.562 kB / 0.9975 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/1.052, allocations: 82.14 kB / 0.9975 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/1.053, allocations: 296.7 kB / 0.9978 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.053, allocations: 11.66 kB / 0.9978 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/1.053, allocations: 20.16 kB / 0.9979 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/1.053, allocations: 284.5 kB / 0.9981 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.053, allocations: 0.875 kB / 0.9981 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/1.053, allocations: 6.125 kB / 0.9981 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.053, allocations: 9.219 kB / 0.9981 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/1.054, allocations: 209.2 kB / 0.9983 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/1.055, allocations: 1.236 MB / 0.9995 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/1.056, allocations: 177.8 kB / 0.9997 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/1.056, allocations: 105.2 kB / 0.9998 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/1.057, allocations: 337.2 kB / 1 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/1.057, allocations: 45.28 kB / 1 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.057, allocations: 0 / 1 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007727/1.058, allocations: 273.8 kB / 1 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.058, allocations: 165.5 kB / 1.001 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/1.058, allocations: 282.6 kB / 1.001 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.058, allocations: 28.27 kB / 1.001 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.058, allocations: 147.9 kB / 1.001 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/1.058, allocations: 44.86 kB / 1.001 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/1.058, allocations: 36.73 kB / 1.001 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.058, allocations: 342.1 kB / 1.001 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.059, allocations: 67.22 kB / 1.002 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/1.059, allocations: 140.2 kB / 1.002 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/1.059, allocations: 210.3 kB / 1.002 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.059, allocations: 0 / 1.002 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005209/1.06, allocations: 255.2 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.06, allocations: 6.75 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.06, allocations: 2.625 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.06, allocations: 2.812 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.06, allocations: 35.7 kB / 1.002 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.06, allocations: 4.938 kB / 1.002 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/1.06, allocations: 41.8 kB / 1.002 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.06, allocations: 17.52 kB / 1.002 GB, free: 3.324 MB / 0.7481 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.0001458/1.06, allocations: 141.3 kB / 1.002 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/1.061, allocations: 24.59 kB / 1.002 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/1.061, allocations: 189 kB / 1.003 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.061, allocations: 4.344 kB / 1.003 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.061, allocations: 2.25 kB / 1.003 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.061, allocations: 4.031 kB / 1.003 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.062, allocations: 0.8566 MB / 1.003 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.062, allocations: 2.531 kB / 1.003 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.062, allocations: 22.67 kB / 1.003 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.062, allocations: 8.094 kB / 1.003 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.062, allocations: 2.688 kB / 1.003 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.062, allocations: 2.094 kB / 1.003 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.062, allocations: 2.844 kB / 1.003 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/1.063, allocations: 341.2 kB / 1.004 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.063, allocations: 106.2 kB / 1.004 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/1.063, allocations: 10.78 kB / 1.004 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/1.063, allocations: 14.02 kB / 1.004 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/1.063, allocations: 9.328 kB / 1.004 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/1.063, allocations: 6.688 kB / 1.004 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002259/1.064, allocations: 235.3 kB / 1.004 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.064, allocations: 2.594 kB / 1.004 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005059/1.064, allocations: 89.22 kB / 1.004 GB, free: 1.641 MB / 0.7481 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.0005347/1.065, allocations: 216.6 kB / 1.004 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004247/1.065, allocations: 151.2 kB / 1.005 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.065, allocations: 0 / 1.005 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.065, allocations: 62.05 kB / 1.005 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/1.066, allocations: 138.6 kB / 1.005 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/1.067, allocations: 0.4958 MB / 1.005 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/1.067, allocations: 0.7544 MB / 1.006 GB, free: 232 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001814/1.067, allocations: 70.98 kB / 1.006 GB, free: 196 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/1.068, allocations: 27.03 kB / 1.006 GB, free: 184 kB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/1.068, allocations: 0 / 1.006 GB, free: 184 kB / 0.7481 GB Notification: Performance of Templates: time 0.01096/1.079, allocations: 5.748 MB / 1.012 GB, free: 13.3 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)