Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001765/0.001765, allocations: 195.5 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4038/0.4038, allocations: 54.93 MB / 324.3 MB, free: 212 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 59.92 kB / 394.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 59.59 MB / 454.2 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4519/0.6028, allocations: 165.3 MB / 0.605 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007784/0.6107, allocations: 6.526 MB / 0.6114 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.6113, allocations: 11.94 kB / 0.6114 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.6122, allocations: 210.8 kB / 0.6116 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.614, allocations: 0.6924 MB / 0.6123 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.6151, allocations: 372.2 kB / 0.6126 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6167, allocations: 1.525 MB / 0.6141 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.6171, allocations: 314.2 kB / 0.6144 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.6187, allocations: 0.6848 MB / 0.6151 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.6192, allocations: 402.6 kB / 0.6155 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.6192, allocations: 27.94 kB / 0.6155 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.6195, allocations: 95.88 kB / 0.6156 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.6197, allocations: 171.5 kB / 0.6157 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.6201, allocations: 242.9 kB / 0.616 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.6207, allocations: 0.6192 MB / 0.6166 GB, free: 6.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6207, allocations: 4 kB / 0.6166 GB, free: 6.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.6207, allocations: 0 / 0.6166 GB, free: 6.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.6207, allocations: 0 / 0.6166 GB, free: 6.801 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001338/0.6221, allocations: 0.7534 MB / 0.6173 GB, free: 6.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6221, allocations: 8.031 kB / 0.6173 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.6224, allocations: 55.44 kB / 0.6174 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.6229, allocations: 362.1 kB / 0.6177 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.6229, allocations: 28.94 kB / 0.6178 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.623, allocations: 40 kB / 0.6178 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.6238, allocations: 410.4 kB / 0.6182 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6238, allocations: 0 / 0.6182 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.6239, allocations: 16.84 kB / 0.6182 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.6239, allocations: 8 kB / 0.6182 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.6246, allocations: 335.8 kB / 0.6185 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.6271, allocations: 1.426 MB / 0.6199 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.6275, allocations: 186.6 kB / 0.6201 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.6277, allocations: 104.8 kB / 0.6202 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.6282, allocations: 121 kB / 0.6203 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.6282, allocations: 34.56 kB / 0.6203 GB, free: 2.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.6282, allocations: 0 / 0.6203 GB, free: 2.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008048/0.629, allocations: 330.1 kB / 0.6207 GB, free: 2.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6291, allocations: 51.41 kB / 0.6207 GB, free: 2.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.6296, allocations: 437.4 kB / 0.6211 GB, free: 1.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.6296, allocations: 25.7 kB / 0.6212 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.6298, allocations: 219.9 kB / 0.6214 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.6299, allocations: 70.98 kB / 0.6214 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.63, allocations: 52.2 kB / 0.6215 GB, free: 1.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6302, allocations: 350.7 kB / 0.6218 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.6304, allocations: 91.94 kB / 0.6219 GB, free: 1.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.6307, allocations: 155.8 kB / 0.622 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.6312, allocations: 244.5 kB / 0.6223 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6312, allocations: 7.938 kB / 0.6223 GB, free: 0.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000552/0.6318, allocations: 325.2 kB / 0.6226 GB, free: 312 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6318, allocations: 8.031 kB / 0.6226 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.6318, allocations: 4 kB / 0.6226 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6318, allocations: 0 / 0.6226 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.6321, allocations: 55.91 kB / 0.6227 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6321, allocations: 4 kB / 0.6227 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.6324, allocations: 53.52 kB / 0.6227 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.6324, allocations: 16 kB / 0.6227 GB, free: 172 kB / 494.1 MB 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 (30): * Single equations (assignments): 30 * 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.0002115/0.6326, allocations: 173.8 kB / 0.6229 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.6327, allocations: 43.53 kB / 0.6229 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.6332, allocations: 275.5 kB / 0.6232 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6333, allocations: 7.938 kB / 0.6232 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6333, allocations: 0 / 0.6232 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.6333, allocations: 7.938 kB / 0.6232 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6344, allocations: 0.7813 MB / 0.624 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6344, allocations: 192 / 0.624 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.6346, allocations: 39.92 kB / 0.624 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6346, allocations: 4 kB / 0.624 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6346, allocations: 8 kB / 0.624 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6346, allocations: 4 kB / 0.624 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6347, allocations: 1.219 kB / 0.624 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.6354, allocations: 0.5045 MB / 0.6245 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.6356, allocations: 160.5 kB / 0.6247 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.6357, allocations: 5.188 kB / 0.6247 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.636, allocations: 28.03 kB / 0.6247 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.6361, allocations: 15.98 kB / 0.6247 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.6362, allocations: 15.92 kB / 0.6247 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003053/0.6365, allocations: 303.1 kB / 0.625 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6365, allocations: 0 / 0.625 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004369/0.6369, allocations: 111.8 kB / 0.6251 GB, free: 13.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0003631/0.6373, allocations: 149.4 kB / 0.6253 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.6378, allocations: 236.2 kB / 0.6255 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6378, allocations: 384 / 0.6255 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.638, allocations: 112.8 kB / 0.6256 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6391, allocations: 219.3 kB / 0.6258 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.6405, allocations: 0.9525 MB / 0.6268 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6409, allocations: 0.8155 MB / 0.6276 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.6412, allocations: 81.38 kB / 0.6276 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.6413, allocations: 31.44 kB / 0.6277 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.6413, allocations: 0 / 0.6277 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.01375/0.655, allocations: 7.573 MB / 0.6351 GB, free: 3.504 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)