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.001017/0.001017, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001034/0.001034, allocations: 191.3 kB / 16.25 MB, free: 6.621 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002576, allocations: 282.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 89.11 kB / 0.5947 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1821, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.6034/0.7856, allocations: 161 MB / 0.8368 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005815/0.7914, allocations: 4.548 MB / 0.8413 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.7921, allocations: 11.41 kB / 0.8413 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.7927, allocations: 99.58 kB / 0.8414 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.7942, allocations: 0.509 MB / 0.8419 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.7964, allocations: 0.7235 MB / 0.8426 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.7972, allocations: 0.5747 MB / 0.8432 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.7976, allocations: 204.7 kB / 0.8434 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.7987, allocations: 455.6 kB / 0.8438 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.7993, allocations: 295.8 kB / 0.8441 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.7993, allocations: 17.88 kB / 0.8441 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.8012, allocations: 1.052 MB / 0.8451 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.8014, allocations: 87.89 kB / 0.8452 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.8015, allocations: 126.9 kB / 0.8453 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.8028, allocations: 0.7702 MB / 0.8461 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8028, allocations: 4 kB / 0.8461 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8028, allocations: 0 / 0.8461 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.8028, allocations: 0 / 0.8461 GB, free: 13.99 MB / 0.5762 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.001047/0.8039, allocations: 0.5929 MB / 0.8467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8039, allocations: 8.094 kB / 0.8467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.8046, allocations: 76.88 kB / 0.8467 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.805, allocations: 294.6 kB / 0.847 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.8051, allocations: 16.16 kB / 0.847 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.8051, allocations: 21.41 kB / 0.8471 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.8056, allocations: 281.3 kB / 0.8473 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.8057, allocations: 0 / 0.8473 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.8057, allocations: 6.531 kB / 0.8473 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.8057, allocations: 17.61 kB / 0.8473 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.8061, allocations: 203.2 kB / 0.8475 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.8077, allocations: 1.25 MB / 0.8488 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.808, allocations: 171 kB / 0.8489 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.8082, allocations: 119.2 kB / 0.849 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.8089, allocations: 331 kB / 0.8493 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.809, allocations: 41.38 kB / 0.8494 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.809, allocations: 0 / 0.8494 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000746/0.8097, allocations: 290.2 kB / 0.8497 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.8098, allocations: 160.9 kB / 0.8498 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.8101, allocations: 282.2 kB / 0.8501 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.8102, allocations: 32.55 kB / 0.8501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8103, allocations: 142.8 kB / 0.8503 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.8103, allocations: 56.19 kB / 0.8503 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.8104, allocations: 39.95 kB / 0.8503 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8106, allocations: 340 kB / 0.8507 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.8107, allocations: 70.69 kB / 0.8507 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.811, allocations: 150.8 kB / 0.8509 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.8113, allocations: 203.4 kB / 0.8511 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8113, allocations: 0 / 0.8511 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004787/0.8118, allocations: 249.3 kB / 0.8513 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8118, allocations: 5.375 kB / 0.8513 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8118, allocations: 2.594 kB / 0.8513 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.8119, allocations: 2.531 kB / 0.8513 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.8121, allocations: 44.66 kB / 0.8514 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.8121, allocations: 2.531 kB / 0.8514 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.8123, allocations: 24.17 kB / 0.8514 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.8123, allocations: 14.38 kB / 0.8514 GB, free: 9.48 MB / 0.5762 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.0001386/0.8125, allocations: 154.7 kB / 0.8516 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.8126, allocations: 27.03 kB / 0.8516 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.8131, allocations: 188.4 kB / 0.8518 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.8131, allocations: 2.969 kB / 0.8518 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8131, allocations: 0 / 0.8518 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8131, allocations: 2.281 kB / 0.8518 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.8141, allocations: 0.8507 MB / 0.8526 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8141, allocations: 2.281 kB / 0.8526 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.8142, allocations: 24.52 kB / 0.8526 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.8142, allocations: 11.25 kB / 0.8526 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.8142, allocations: 10.78 kB / 0.8526 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8142, allocations: 4.156 kB / 0.8526 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8142, allocations: 2.875 kB / 0.8526 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.8148, allocations: 339.2 kB / 0.853 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.8149, allocations: 119.1 kB / 0.8531 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.8149, allocations: 10.59 kB / 0.8531 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.8151, allocations: 7.625 kB / 0.8531 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.8152, allocations: 15.02 kB / 0.8531 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8152, allocations: 4.812 kB / 0.8531 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000216/0.8154, allocations: 238 kB / 0.8533 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8154, allocations: 0 / 0.8533 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005008/0.8159, allocations: 91.42 kB / 0.8534 GB, free: 7.77 MB / 0.5762 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.0005797/0.8165, allocations: 224.1 kB / 0.8536 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.8169, allocations: 150.7 kB / 0.8538 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8169, allocations: 0 / 0.8538 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.817, allocations: 61.95 kB / 0.8539 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.8178, allocations: 133.4 kB / 0.854 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.8187, allocations: 0.5653 MB / 0.8545 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.819, allocations: 0.7543 MB / 0.8553 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.8192, allocations: 72.11 kB / 0.8553 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.8193, allocations: 22.44 kB / 0.8554 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.8193, allocations: 3.938 kB / 0.8554 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of Templates: time 0.01082/0.8301, allocations: 5.74 MB / 0.861 GB, free: 3.414 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)