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.001171/0.001171, allocations: 108.6 kB / 16.41 MB, free: 6.492 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.001172/0.001172, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6756/0.6756, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 66.64 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1272, allocations: 76.19 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4637/0.591, allocations: 169.4 MB / 0.7975 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006481/0.5975, allocations: 7.135 MB / 0.8045 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.598, allocations: 18.62 kB / 0.8045 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.5986, allocations: 167 kB / 0.8047 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.6015, allocations: 1.262 MB / 0.8059 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.6031, allocations: 0.6277 MB / 0.8065 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.6041, allocations: 0.7613 MB / 0.8073 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.6046, allocations: 297.3 kB / 0.8075 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.6059, allocations: 0.5855 MB / 0.8081 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/0.6067, allocations: 409.7 kB / 0.8085 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.6068, allocations: 28.44 kB / 0.8085 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.6088, allocations: 1.242 MB / 0.8097 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6089, allocations: 118.8 kB / 0.8099 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.6091, allocations: 180.1 kB / 0.81 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.6104, allocations: 0.8965 MB / 0.8109 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6104, allocations: 0 / 0.8109 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6104, allocations: 0 / 0.8109 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.6105, allocations: 0 / 0.8109 GB, free: 10.62 MB / 0.5919 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.001165/0.6116, allocations: 0.7037 MB / 0.8116 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6117, allocations: 10.06 kB / 0.8116 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6127, allocations: 129.1 kB / 0.8117 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.6133, allocations: 346 kB / 0.8121 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/0.6134, allocations: 49.42 kB / 0.8121 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.6135, allocations: 28.16 kB / 0.8121 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.6141, allocations: 368.6 kB / 0.8125 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6141, allocations: 6.094 kB / 0.8125 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.6141, allocations: 9.438 kB / 0.8125 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.6142, allocations: 7.469 kB / 0.8125 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.6146, allocations: 269.2 kB / 0.8128 GB, free: 9.492 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.6164, allocations: 1.49 MB / 0.8142 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.6167, allocations: 198.4 kB / 0.8144 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.617, allocations: 120.1 kB / 0.8145 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008954/0.6179, allocations: 0.508 MB / 0.815 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6179, allocations: 30.56 kB / 0.815 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.6179, allocations: 0 / 0.815 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008388/0.6187, allocations: 356.9 kB / 0.8154 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6188, allocations: 53.75 kB / 0.8154 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.6191, allocations: 318.8 kB / 0.8157 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6191, allocations: 28.89 kB / 0.8158 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.6192, allocations: 177.8 kB / 0.8159 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.6192, allocations: 57.73 kB / 0.816 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.6193, allocations: 45.2 kB / 0.816 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6195, allocations: 344.6 kB / 0.8164 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.6196, allocations: 88.66 kB / 0.8165 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.6198, allocations: 146.5 kB / 0.8166 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.6202, allocations: 235 kB / 0.8168 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6202, allocations: 3.938 kB / 0.8168 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004973/0.6207, allocations: 286.2 kB / 0.8171 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6208, allocations: 7.281 kB / 0.8171 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6208, allocations: 0 / 0.8171 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6208, allocations: 2.812 kB / 0.8171 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.621, allocations: 44.12 kB / 0.8171 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.621, allocations: 6.938 kB / 0.8172 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6212, allocations: 36.92 kB / 0.8172 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.6212, allocations: 9.938 kB / 0.8172 GB, free: 6.469 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.0001375/0.6214, allocations: 148.4 kB / 0.8173 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.6215, allocations: 30.55 kB / 0.8174 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.6221, allocations: 326 kB / 0.8177 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6221, allocations: 0 / 0.8177 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6221, allocations: 0 / 0.8177 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6221, allocations: 1.938 kB / 0.8177 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6233, allocations: 0.8076 MB / 0.8185 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6233, allocations: 0 / 0.8185 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.6235, allocations: 31.58 kB / 0.8185 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6235, allocations: 1.812 kB / 0.8185 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.6235, allocations: 17.7 kB / 0.8185 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.6235, allocations: 11.16 kB / 0.8185 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6235, allocations: 2.625 kB / 0.8185 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.624, allocations: 399.3 kB / 0.8189 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.6242, allocations: 136.2 kB / 0.819 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.6242, allocations: 17.17 kB / 0.8191 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.6244, allocations: 11.48 kB / 0.8191 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.6245, allocations: 15.64 kB / 0.8191 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.6245, allocations: 8.625 kB / 0.8191 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001834/0.6247, allocations: 229.9 kB / 0.8193 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6247, allocations: 0 / 0.8193 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004487/0.6252, allocations: 121.1 kB / 0.8194 GB, free: 4.895 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.0004615/0.6257, allocations: 231 kB / 0.8196 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.6261, allocations: 224.2 kB / 0.8199 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6261, allocations: 0 / 0.8199 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.6263, allocations: 118.8 kB / 0.82 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.6271, allocations: 162 kB / 0.8201 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.628, allocations: 0.5916 MB / 0.8207 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.6283, allocations: 0.7935 MB / 0.8215 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.6286, allocations: 88.2 kB / 0.8216 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.6286, allocations: 31.47 kB / 0.8216 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.6286, allocations: 0 / 0.8216 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of Templates: time 0.01095/0.6396, allocations: 7.313 MB / 0.8287 GB, free: 15.65 MB / 0.6075 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)