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.001257/0.001257, allocations: 119.1 kB / 17.09 MB, free: 6.012 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.001293/0.001293, allocations: 195 kB / 18.02 MB, free: 5.094 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.428/1.428, allocations: 222.9 MB / 241.7 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.7571/0.7571, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.09 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5704/0.7214, allocations: 163.2 MB / 0.7921 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005648/0.7271, allocations: 4.578 MB / 0.7966 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.7277, allocations: 10.78 kB / 0.7966 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.7283, allocations: 125.3 kB / 0.7967 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.7302, allocations: 0.5387 MB / 0.7972 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.7324, allocations: 0.7698 MB / 0.798 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.7333, allocations: 0.575 MB / 0.7986 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.7338, allocations: 219.7 kB / 0.7988 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.735, allocations: 466.8 kB / 0.7992 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.7357, allocations: 290.7 kB / 0.7995 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.7358, allocations: 18.69 kB / 0.7995 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.7378, allocations: 1.004 MB / 0.8005 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.738, allocations: 86.77 kB / 0.8006 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.7382, allocations: 128 kB / 0.8007 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.7398, allocations: 0.719 MB / 0.8014 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7398, allocations: 0 / 0.8014 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7398, allocations: 0 / 0.8014 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.7398, allocations: 2.75 kB / 0.8014 GB, free: 12.3 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.001208/0.741, allocations: 0.5888 MB / 0.802 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7411, allocations: 9.75 kB / 0.802 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.7418, allocations: 80.86 kB / 0.8021 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.7423, allocations: 302.4 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7424, allocations: 14.89 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.7424, allocations: 19.25 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.743, allocations: 289.6 kB / 0.8027 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.743, allocations: 2.875 kB / 0.8027 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.743, allocations: 8.016 kB / 0.8027 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.743, allocations: 8.812 kB / 0.8027 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.7434, allocations: 202.8 kB / 0.8029 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.7451, allocations: 1.242 MB / 0.8041 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.7454, allocations: 170.5 kB / 0.8042 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.7457, allocations: 118.5 kB / 0.8044 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.7464, allocations: 332 kB / 0.8047 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.7465, allocations: 35.91 kB / 0.8047 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.7465, allocations: 1.203 kB / 0.8047 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007549/0.7472, allocations: 284.1 kB / 0.805 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.7473, allocations: 154.2 kB / 0.8051 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.7476, allocations: 289.5 kB / 0.8054 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.7477, allocations: 29.02 kB / 0.8054 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.7478, allocations: 152.7 kB / 0.8056 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.7478, allocations: 43.58 kB / 0.8056 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.7479, allocations: 45.89 kB / 0.8057 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.748, allocations: 340.7 kB / 0.806 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.7482, allocations: 68.7 kB / 0.8061 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.7484, allocations: 140.2 kB / 0.8062 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.7488, allocations: 216.6 kB / 0.8064 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7488, allocations: 0 / 0.8064 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004995/0.7493, allocations: 243.6 kB / 0.8066 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7494, allocations: 13.5 kB / 0.8066 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7494, allocations: 3.344 kB / 0.8066 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.7494, allocations: 2.219 kB / 0.8066 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.7496, allocations: 41.95 kB / 0.8067 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7496, allocations: 2.406 kB / 0.8067 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.7498, allocations: 29.2 kB / 0.8067 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.7499, allocations: 14.05 kB / 0.8067 GB, free: 8.941 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.000156/0.75, allocations: 150.1 kB / 0.8069 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7502, allocations: 32.12 kB / 0.8069 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.7507, allocations: 185.4 kB / 0.8071 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7507, allocations: 2.281 kB / 0.8071 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7507, allocations: 0 / 0.8071 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7507, allocations: 2.75 kB / 0.8071 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.7517, allocations: 0.8582 MB / 0.8079 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7517, allocations: 2.562 kB / 0.8079 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.7518, allocations: 24.86 kB / 0.8079 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.7518, allocations: 6.844 kB / 0.808 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7519, allocations: 10.84 kB / 0.808 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7519, allocations: 1.094 kB / 0.808 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7519, allocations: 2.094 kB / 0.808 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.7524, allocations: 334.4 kB / 0.8083 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.7526, allocations: 113.6 kB / 0.8084 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.7526, allocations: 11.09 kB / 0.8084 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.7528, allocations: 9.922 kB / 0.8084 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.7528, allocations: 15.83 kB / 0.8084 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.7528, allocations: 5.375 kB / 0.8084 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002155/0.7531, allocations: 233.2 kB / 0.8087 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7531, allocations: 0 / 0.8087 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004977/0.7536, allocations: 97.14 kB / 0.8088 GB, free: 7.477 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.0006502/0.7542, allocations: 227.3 kB / 0.809 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.7547, allocations: 149.8 kB / 0.8091 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7547, allocations: 0 / 0.8091 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.7548, allocations: 63.16 kB / 0.8092 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.7556, allocations: 144 kB / 0.8093 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.7565, allocations: 0.5224 MB / 0.8098 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.7569, allocations: 0.7578 MB / 0.8106 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.757, allocations: 28 kB / 0.8106 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.757, allocations: 0 / 0.8106 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of Templates: time 0.009278/0.7662, allocations: 5.247 MB / 0.8157 GB, free: 3.438 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)