Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001423/0.001423, allocations: 192 kB / 17.2 MB, free: 5.598 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.825/0.825, allocations: 126.7 MB / 417.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002216, allocations: 67.89 kB / 0.4957 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 78.86 MB / 0.5728 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1972/0.5321, allocations: 169.5 MB / 0.7382 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009245/0.5414, allocations: 7.127 MB / 0.7452 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.5419, allocations: 15.88 kB / 0.7452 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.5424, allocations: 166.7 kB / 0.7454 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.5456, allocations: 1.26 MB / 0.7466 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.5473, allocations: 0.6354 MB / 0.7472 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.5483, allocations: 0.7446 MB / 0.748 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.5488, allocations: 296.3 kB / 0.7482 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.5503, allocations: 0.7083 MB / 0.7489 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008122/0.5512, allocations: 422.5 kB / 0.7493 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.5512, allocations: 24 kB / 0.7494 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3621/0.9133, allocations: 1.229 MB / 0.7506 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.9136, allocations: 119.2 kB / 0.7507 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.914, allocations: 175.8 kB / 0.7508 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.916, allocations: 0.8904 MB / 0.7517 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.916, allocations: 0.5625 kB / 0.7517 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.916, allocations: 0.9844 kB / 0.7517 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.9161, allocations: 0.75 kB / 0.7517 GB, free: 3.746 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001112/0.9172, allocations: 0.6946 MB / 0.7524 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.9172, allocations: 10.69 kB / 0.7524 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9183, allocations: 131.3 kB / 0.7525 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.919, allocations: 323.7 kB / 0.7528 GB, free: 19.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/0.9191, allocations: 51.73 kB / 0.7529 GB, free: 19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.9191, allocations: 29.89 kB / 0.7529 GB, free: 19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.9198, allocations: 364.3 kB / 0.7533 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9198, allocations: 3.906 kB / 0.7533 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.9199, allocations: 13.22 kB / 0.7533 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.9199, allocations: 6.344 kB / 0.7533 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.9204, allocations: 276 kB / 0.7535 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.9223, allocations: 1.494 MB / 0.755 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.9228, allocations: 197 kB / 0.7552 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.9231, allocations: 116.3 kB / 0.7553 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.9243, allocations: 0.5036 MB / 0.7558 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.9243, allocations: 46.39 kB / 0.7558 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.9243, allocations: 0 / 0.7558 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001093/0.9254, allocations: 352.3 kB / 0.7562 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.9255, allocations: 60.66 kB / 0.7562 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.9259, allocations: 312.7 kB / 0.7565 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.926, allocations: 30.98 kB / 0.7566 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.9262, allocations: 183.7 kB / 0.7567 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.9262, allocations: 52.73 kB / 0.7568 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9263, allocations: 42.94 kB / 0.7568 GB, free: 17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9265, allocations: 342.2 kB / 0.7571 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.9268, allocations: 87.22 kB / 0.7572 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.9271, allocations: 147.8 kB / 0.7574 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.9276, allocations: 237.5 kB / 0.7576 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.9276, allocations: 2.031 kB / 0.7576 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000743/0.9284, allocations: 284.7 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.9284, allocations: 6.219 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9284, allocations: 2.844 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9284, allocations: 2.281 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.9287, allocations: 46.56 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9287, allocations: 6.344 kB / 0.7579 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.929, allocations: 26.44 kB / 0.758 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.9291, allocations: 16.27 kB / 0.758 GB, free: 16.51 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000196/0.9293, allocations: 155.8 kB / 0.7581 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.9294, allocations: 38.48 kB / 0.7582 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.9302, allocations: 303.7 kB / 0.7584 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9303, allocations: 3.156 kB / 0.7584 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9303, allocations: 0.9062 kB / 0.7585 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9303, allocations: 3.859 kB / 0.7585 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.9318, allocations: 0.8098 MB / 0.7592 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9318, allocations: 2.594 kB / 0.7592 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.932, allocations: 43.28 kB / 0.7593 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.932, allocations: 4.562 kB / 0.7593 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.932, allocations: 3.625 kB / 0.7593 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.932, allocations: 2.375 kB / 0.7593 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.932, allocations: 7.219 kB / 0.7593 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.9326, allocations: 405 kB / 0.7597 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.9328, allocations: 134.1 kB / 0.7598 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.9328, allocations: 8 kB / 0.7598 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.9331, allocations: 17.22 kB / 0.7598 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.9332, allocations: 19.28 kB / 0.7599 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.9332, allocations: 16.45 kB / 0.7599 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002374/0.9334, allocations: 226.1 kB / 0.7601 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9334, allocations: 0.8438 kB / 0.7601 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005982/0.934, allocations: 115.2 kB / 0.7602 GB, free: 15.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005948/0.9346, allocations: 235.7 kB / 0.7604 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.9352, allocations: 227.7 kB / 0.7606 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9352, allocations: 0.8438 kB / 0.7606 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.9354, allocations: 118.3 kB / 0.7608 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.9363, allocations: 158 kB / 0.7609 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.9376, allocations: 0.5976 MB / 0.7615 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.9381, allocations: 0.7845 MB / 0.7623 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.9385, allocations: 88.02 kB / 0.7623 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.9386, allocations: 31.69 kB / 0.7624 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.9386, allocations: 1.031 kB / 0.7624 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.01535/0.954, allocations: 7.288 MB / 0.7695 GB, free: 14.19 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)