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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 111 kB / 17.33 MB, free: 5.043 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.001329/0.001329, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.471/1.471, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8597/0.8597, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 69.5 kB / 0.5912 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1995, allocations: 83.25 MB / 0.6725 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5741/0.7736, allocations: 170 MB / 0.8385 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.784, allocations: 7.166 MB / 0.8455 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.7848, allocations: 11.22 kB / 0.8455 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.7858, allocations: 170.9 kB / 0.8457 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.7905, allocations: 1.303 MB / 0.8469 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.7929, allocations: 0.6447 MB / 0.8476 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.7943, allocations: 0.7589 MB / 0.8483 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.7948, allocations: 252.4 kB / 0.8486 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.7967, allocations: 0.7464 MB / 0.8493 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.7978, allocations: 438.6 kB / 0.8497 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.7978, allocations: 24.84 kB / 0.8497 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.8005, allocations: 1.317 MB / 0.851 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.8006, allocations: 118.8 kB / 0.8511 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.8008, allocations: 180.6 kB / 0.8513 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8024, allocations: 0.9027 MB / 0.8522 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8024, allocations: 2.75 kB / 0.8522 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8024, allocations: 0 / 0.8522 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.8024, allocations: 3.938 kB / 0.8522 GB, free: 1.203 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001222/0.8036, allocations: 0.7094 MB / 0.8529 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8036, allocations: 7.75 kB / 0.8529 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.8047, allocations: 129.3 kB / 0.853 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.8053, allocations: 350.5 kB / 0.8533 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.8054, allocations: 55.16 kB / 0.8534 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.8055, allocations: 25.31 kB / 0.8534 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.8062, allocations: 366.6 kB / 0.8538 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.8062, allocations: 0 / 0.8538 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.8062, allocations: 11.03 kB / 0.8538 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.8062, allocations: 11.72 kB / 0.8538 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.8067, allocations: 272.1 kB / 0.8541 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.8087, allocations: 1.482 MB / 0.8555 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.8091, allocations: 184.8 kB / 0.8557 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.8093, allocations: 112.9 kB / 0.8558 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.8103, allocations: 0.5013 MB / 0.8563 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.8104, allocations: 41.45 kB / 0.8563 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.8104, allocations: 0 / 0.8563 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009565/0.8113, allocations: 362.2 kB / 0.8567 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.8114, allocations: 54.28 kB / 0.8567 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.8117, allocations: 314.8 kB / 0.857 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.8118, allocations: 31.67 kB / 0.857 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.8119, allocations: 190.6 kB / 0.8572 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.812, allocations: 58.97 kB / 0.8573 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.8121, allocations: 45.08 kB / 0.8573 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8122, allocations: 341.6 kB / 0.8576 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.8124, allocations: 86.2 kB / 0.8577 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.8127, allocations: 148.2 kB / 0.8579 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.8131, allocations: 240.2 kB / 0.8581 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8131, allocations: 0 / 0.8581 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005625/0.8136, allocations: 283.5 kB / 0.8584 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8137, allocations: 7.281 kB / 0.8584 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8137, allocations: 0 / 0.8584 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8137, allocations: 6.781 kB / 0.8584 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.8139, allocations: 45.91 kB / 0.8584 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.8139, allocations: 4 kB / 0.8584 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.8141, allocations: 28.44 kB / 0.8585 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.8142, allocations: 15.52 kB / 0.8585 GB, free: 12.11 MB / 0.6231 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.0001744/0.8143, allocations: 152.1 kB / 0.8586 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8145, allocations: 30.62 kB / 0.8587 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.8151, allocations: 315.1 kB / 0.859 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8152, allocations: 2.469 kB / 0.859 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8152, allocations: 0 / 0.859 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8152, allocations: 0 / 0.859 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.8165, allocations: 0.8132 MB / 0.8597 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8165, allocations: 0 / 0.8597 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.8167, allocations: 39.84 kB / 0.8598 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8167, allocations: 6.031 kB / 0.8598 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.8167, allocations: 9.312 kB / 0.8598 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8167, allocations: 2.906 kB / 0.8598 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.8167, allocations: 7.938 kB / 0.8598 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.8173, allocations: 395.8 kB / 0.8602 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.8174, allocations: 139.8 kB / 0.8603 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.8175, allocations: 8.75 kB / 0.8603 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.8177, allocations: 11.52 kB / 0.8603 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.8178, allocations: 19.23 kB / 0.8604 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.8178, allocations: 23.67 kB / 0.8604 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000229/0.818, allocations: 223.2 kB / 0.8606 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.818, allocations: 0 / 0.8606 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005389/0.8186, allocations: 125.7 kB / 0.8607 GB, free: 10.44 MB / 0.6231 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.0006012/0.8192, allocations: 236.8 kB / 0.8609 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.8197, allocations: 215.8 kB / 0.8611 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8197, allocations: 0 / 0.8611 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.8199, allocations: 117.2 kB / 0.8613 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.8208, allocations: 161.6 kB / 0.8614 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.8219, allocations: 0.6005 MB / 0.862 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.8224, allocations: 0.7834 MB / 0.8628 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.8227, allocations: 86.8 kB / 0.8628 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.8228, allocations: 31.42 kB / 0.8629 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.8228, allocations: 0 / 0.8629 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.01406/0.8368, allocations: 7.386 MB / 0.8701 GB, free: 1.109 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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) [Timeout 480]