Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00144/0.00144, allocations: 104.1 kB / 16.4 MB, free: 6.449 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.001761/0.001761, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.741/0.741, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65.69 kB / 0.5577 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1452, allocations: 76.18 MB / 0.6321 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5962/0.7414, allocations: 163.2 MB / 0.7915 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005714/0.7472, allocations: 4.572 MB / 0.7959 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.7477, allocations: 13.5 kB / 0.7959 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.7483, allocations: 129.3 kB / 0.7961 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.7497, allocations: 0.5397 MB / 0.7966 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.7518, allocations: 0.7668 MB / 0.7973 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.7525, allocations: 0.5752 MB / 0.7979 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.7529, allocations: 223.4 kB / 0.7981 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.754, allocations: 460.4 kB / 0.7986 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.7547, allocations: 299.1 kB / 0.7988 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.7547, allocations: 20.67 kB / 0.7989 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.7565, allocations: 0.9937 MB / 0.7998 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.7566, allocations: 88.59 kB / 0.7999 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.7568, allocations: 124.1 kB / 0.8 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.7578, allocations: 0.7189 MB / 0.8007 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7578, allocations: 0 / 0.8007 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7578, allocations: 0 / 0.8007 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7578, allocations: 0 / 0.8007 GB, free: 12.28 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009232/0.7588, allocations: 0.5959 MB / 0.8013 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7588, allocations: 8.312 kB / 0.8013 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.7595, allocations: 78.22 kB / 0.8014 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.7599, allocations: 298.6 kB / 0.8017 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.76, allocations: 18.58 kB / 0.8017 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.76, allocations: 20.7 kB / 0.8017 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.7605, allocations: 282.9 kB / 0.802 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7605, allocations: 6.375 kB / 0.802 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.7605, allocations: 6.281 kB / 0.802 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.7606, allocations: 13 kB / 0.802 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.7609, allocations: 207.2 kB / 0.8022 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.7625, allocations: 1.234 MB / 0.8034 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.7627, allocations: 170.3 kB / 0.8036 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.7629, allocations: 116.3 kB / 0.8037 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/0.7637, allocations: 332 kB / 0.804 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.7637, allocations: 45.38 kB / 0.8041 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.7637, allocations: 0 / 0.8041 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007008/0.7644, allocations: 273.9 kB / 0.8043 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.7645, allocations: 167.6 kB / 0.8045 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.7648, allocations: 281.4 kB / 0.8047 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.7648, allocations: 29.45 kB / 0.8048 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7649, allocations: 151.4 kB / 0.8049 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.765, allocations: 46.06 kB / 0.805 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.765, allocations: 46.61 kB / 0.805 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7652, allocations: 341.7 kB / 0.8053 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7653, allocations: 68.81 kB / 0.8054 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.7655, allocations: 141.1 kB / 0.8055 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.7659, allocations: 213 kB / 0.8057 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7659, allocations: 2.812 kB / 0.8057 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004465/0.7663, allocations: 238.5 kB / 0.806 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7664, allocations: 8.797 kB / 0.806 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7664, allocations: 2.969 kB / 0.806 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7664, allocations: 12.56 kB / 0.806 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.7666, allocations: 39.36 kB / 0.806 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7666, allocations: 3.828 kB / 0.806 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.7668, allocations: 27.95 kB / 0.8061 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.7668, allocations: 11.34 kB / 0.8061 GB, free: 8.902 MB / 0.5919 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.0001262/0.767, allocations: 152.4 kB / 0.8062 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7671, allocations: 24.72 kB / 0.8062 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.7676, allocations: 194.3 kB / 0.8064 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7676, allocations: 2.781 kB / 0.8064 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7676, allocations: 6.094 kB / 0.8064 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.7676, allocations: 0 / 0.8064 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.7685, allocations: 0.8584 MB / 0.8073 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7686, allocations: 2.781 kB / 0.8073 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.7687, allocations: 25.95 kB / 0.8073 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.7687, allocations: 6.875 kB / 0.8073 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7687, allocations: 2.875 kB / 0.8073 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7687, allocations: 0 / 0.8073 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7687, allocations: 2.406 kB / 0.8073 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.7692, allocations: 336.8 kB / 0.8076 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.7693, allocations: 110.6 kB / 0.8077 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.7694, allocations: 13.06 kB / 0.8077 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.7696, allocations: 11.7 kB / 0.8078 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.7696, allocations: 19.17 kB / 0.8078 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7696, allocations: 6.719 kB / 0.8078 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002149/0.7698, allocations: 234.2 kB / 0.808 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7698, allocations: 0 / 0.808 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004636/0.7703, allocations: 90.22 kB / 0.8081 GB, free: 7.434 MB / 0.5919 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.0004991/0.7708, allocations: 219.1 kB / 0.8083 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.7712, allocations: 159.5 kB / 0.8085 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7712, allocations: 0 / 0.8085 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7714, allocations: 60.72 kB / 0.8085 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.7721, allocations: 146.4 kB / 0.8087 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.7729, allocations: 0.4964 MB / 0.8091 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7732, allocations: 0.7641 MB / 0.8099 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.7734, allocations: 53.8 kB / 0.8099 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.7735, allocations: 27.17 kB / 0.81 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.7735, allocations: 0 / 0.81 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of Templates: time 0.01057/0.784, allocations: 5.84 MB / 0.8157 GB, free: 3.172 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)