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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5682/0.5682, allocations: 94.68 MB / 107.2 MB, free: 5.191 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001224/0.001224, allocations: 167.2 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.706/1.706, allocations: 170.5 MB / 324.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002058/0.002059, allocations: 110.9 kB / 386.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.405e-05/5.409e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5563, allocations: 61.5 MB / 0.5054 GB, free: 49.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.444, allocations: 372.3 MB / 0.8689 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/1.445, allocations: 86.7 kB / 0.869 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6194/2.064, allocations: 92.29 MB / 0.9592 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/2.064, allocations: 0 / 0.9592 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.941e-05/2.064, allocations: 11.25 kB / 0.9592 GB, free: 154.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009906/2.065, allocations: 0.5911 MB / 0.9597 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/2.065, allocations: 11.22 kB / 0.9597 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/2.066, allocations: 46.95 kB / 0.9598 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/2.066, allocations: 333.2 kB / 0.9601 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/2.066, allocations: 12.19 kB / 0.9601 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/2.066, allocations: 29.44 kB / 0.9602 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/2.067, allocations: 294.8 kB / 0.9604 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/2.067, allocations: 3.938 kB / 0.9604 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/2.067, allocations: 11.84 kB / 0.9604 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/2.067, allocations: 6.938 kB / 0.9605 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/2.067, allocations: 175.4 kB / 0.9606 GB, free: 153 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/2.068, allocations: 1.343 MB / 0.9619 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/2.069, allocations: 91.69 kB / 0.962 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/2.069, allocations: 55.94 kB / 0.9621 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/2.069, allocations: 0.603 MB / 0.9627 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/2.069, allocations: 41.7 kB / 0.9627 GB, free: 151 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/2.069, allocations: 0 / 0.9627 GB, free: 151 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0003177/2.07, allocations: 146.7 kB / 0.9628 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/2.07, allocations: 106.8 kB / 0.9629 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/2.07, allocations: 297.3 kB / 0.9632 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/2.07, allocations: 33.3 kB / 0.9633 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/2.07, allocations: 183.9 kB / 0.9634 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/2.07, allocations: 59.92 kB / 0.9635 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/2.07, allocations: 4 kB / 0.9635 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/2.07, allocations: 342.2 kB / 0.9638 GB, free: 150 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/2.07, allocations: 45.19 kB / 0.9639 GB, free: 150 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/2.071, allocations: 164.1 kB / 0.964 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/2.071, allocations: 72.38 kB / 0.9641 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.071, allocations: 0 / 0.9641 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003179/2.071, allocations: 239.8 kB / 0.9643 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.071, allocations: 7.938 kB / 0.9643 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/2.071, allocations: 4 kB / 0.9643 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/2.071, allocations: 12.33 kB / 0.9643 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/2.071, allocations: 83.89 kB / 0.9644 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/2.071, allocations: 7.984 kB / 0.9644 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/2.072, allocations: 43.67 kB / 0.9645 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/2.072, allocations: 12 kB / 0.9645 GB, free: 149.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/2.072, allocations: 128.6 kB / 0.9646 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/2.072, allocations: 31.62 kB / 0.9646 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/2.072, allocations: 236.2 kB / 0.9649 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/2.072, allocations: 11.95 kB / 0.9649 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/2.072, allocations: 3.938 kB / 0.9649 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/2.072, allocations: 0 / 0.9649 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/2.073, allocations: 320.5 kB / 0.9652 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/2.073, allocations: 0 / 0.9652 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/2.073, allocations: 55.91 kB / 0.9652 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/2.073, allocations: 0 / 0.9652 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/2.073, allocations: 3.984 kB / 0.9652 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/2.073, allocations: 4 kB / 0.9652 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/2.073, allocations: 7.953 kB / 0.9653 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/2.073, allocations: 209.6 kB / 0.9655 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/2.073, allocations: 120.6 kB / 0.9656 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/2.073, allocations: 96 / 0.9656 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/2.074, allocations: 19.98 kB / 0.9656 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/2.074, allocations: 16.03 kB / 0.9656 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/2.074, allocations: 11.95 kB / 0.9656 GB, free: 148 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002191/2.074, allocations: 270.1 kB / 0.9659 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.074, allocations: 0 / 0.9659 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004599/2.074, allocations: 123.9 kB / 0.966 GB, free: 147.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007094/2.075, allocations: 299.8 kB / 0.9663 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002717/2.075, allocations: 123.8 kB / 0.9664 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.075, allocations: 0 / 0.9664 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/2.075, allocations: 48.8 kB / 0.9664 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007893/2.076, allocations: 175.2 kB / 0.9666 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/2.077, allocations: 380.5 kB / 0.967 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/2.077, allocations: 0.7843 MB / 0.9677 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002411/2.077, allocations: 72.91 kB / 0.9678 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/2.077, allocations: 31.42 kB / 0.9678 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/2.077, allocations: 0 / 0.9678 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01256/2.09, allocations: 7.816 MB / 0.9755 GB, free: 138 MB / 0.5261 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)