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.001422/0.001422, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001135/0.001135, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 288.6 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8894/0.8894, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 95.27 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4266/0.5854, allocations: 163.2 MB / 0.841 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005319/0.5907, allocations: 4.582 MB / 0.8455 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.591, allocations: 15.88 kB / 0.8455 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.5915, allocations: 119 kB / 0.8456 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.5926, allocations: 0.5367 MB / 0.8461 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.5942, allocations: 0.7788 MB / 0.8469 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.5947, allocations: 0.5807 MB / 0.8474 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.5951, allocations: 209.2 kB / 0.8476 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.5959, allocations: 466.2 kB / 0.8481 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.5964, allocations: 293.7 kB / 0.8484 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.5964, allocations: 16 kB / 0.8484 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5979, allocations: 1.002 MB / 0.8494 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.598, allocations: 87.78 kB / 0.8494 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.5981, allocations: 127.3 kB / 0.8496 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.599, allocations: 0.7169 MB / 0.8503 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.599, allocations: 0 / 0.8503 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.599, allocations: 0 / 0.8503 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.599, allocations: 0 / 0.8503 GB, free: 1.73 MB / 0.6075 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.0007892/0.5998, allocations: 0.6041 MB / 0.8508 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.5999, allocations: 8.031 kB / 0.8509 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.6005, allocations: 79.59 kB / 0.8509 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.6009, allocations: 295.3 kB / 0.8512 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.6009, allocations: 12 kB / 0.8512 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.601, allocations: 24.88 kB / 0.8512 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.6014, allocations: 283.4 kB / 0.8515 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6015, allocations: 0 / 0.8515 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.6015, allocations: 4 kB / 0.8515 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.6015, allocations: 11.94 kB / 0.8515 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.6019, allocations: 216.1 kB / 0.8517 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.6034, allocations: 1.238 MB / 0.8529 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.6037, allocations: 180.9 kB / 0.8531 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.6039, allocations: 108.2 kB / 0.8532 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.6046, allocations: 331.2 kB / 0.8535 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6046, allocations: 42.69 kB / 0.8536 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6046, allocations: 0 / 0.8536 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007094/0.6053, allocations: 273.4 kB / 0.8538 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.6054, allocations: 162.8 kB / 0.854 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.6057, allocations: 294.8 kB / 0.8543 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.6057, allocations: 33.7 kB / 0.8543 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.6058, allocations: 143.9 kB / 0.8544 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.6059, allocations: 51.28 kB / 0.8545 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.6059, allocations: 37.7 kB / 0.8545 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6061, allocations: 342.8 kB / 0.8549 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6062, allocations: 69.31 kB / 0.8549 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.6064, allocations: 144.4 kB / 0.8551 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.6068, allocations: 208.2 kB / 0.8553 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6068, allocations: 0 / 0.8553 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000483/0.6073, allocations: 249.6 kB / 0.8555 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6073, allocations: 4 kB / 0.8555 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6073, allocations: 4 kB / 0.8555 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6073, allocations: 4 kB / 0.8555 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.6075, allocations: 39.92 kB / 0.8555 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6075, allocations: 8.234 kB / 0.8556 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.6077, allocations: 19.84 kB / 0.8556 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.6078, allocations: 23.36 kB / 0.8556 GB, free: 11.81 MB / 0.6231 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.0001342/0.6079, allocations: 145.7 kB / 0.8557 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6081, allocations: 27.72 kB / 0.8558 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.6086, allocations: 193.6 kB / 0.8559 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6086, allocations: 4 kB / 0.856 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6086, allocations: 0 / 0.856 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.6086, allocations: 4 kB / 0.856 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/0.6095, allocations: 0.8472 MB / 0.8568 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6095, allocations: 0 / 0.8568 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6096, allocations: 27.92 kB / 0.8568 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6096, allocations: 12.03 kB / 0.8568 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6096, allocations: 8 kB / 0.8568 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6097, allocations: 4 kB / 0.8568 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6097, allocations: 1.562 kB / 0.8568 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.6102, allocations: 331.4 kB / 0.8571 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.6103, allocations: 120.7 kB / 0.8573 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.6103, allocations: 16.95 kB / 0.8573 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6105, allocations: 4 kB / 0.8573 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.6105, allocations: 16.14 kB / 0.8573 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.6105, allocations: 7.938 kB / 0.8573 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002064/0.6108, allocations: 233.9 kB / 0.8575 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6108, allocations: 0 / 0.8575 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004232/0.6112, allocations: 95.98 kB / 0.8576 GB, free: 9.59 MB / 0.6231 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.0004658/0.6117, allocations: 209.6 kB / 0.8578 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.612, allocations: 151.7 kB / 0.858 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6121, allocations: 0 / 0.858 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.6122, allocations: 61.34 kB / 0.858 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.6129, allocations: 147.5 kB / 0.8582 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.6136, allocations: 0.4966 MB / 0.8587 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6139, allocations: 0.7634 MB / 0.8594 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.6141, allocations: 62.88 kB / 0.8595 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.6141, allocations: 23.44 kB / 0.8595 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of SimCode: time 2.305e-06/0.6141, allocations: 0 / 0.8595 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of Templates: time 0.009416/0.6236, allocations: 5.804 MB / 0.8651 GB, free: 1.91 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)