Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001224/0.001224, allocations: 107.1 kB / 16.41 MB, free: 6.496 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.001292/0.001292, allocations: 189.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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.672/0.672, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 65.16 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1299, allocations: 76.18 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4693/0.5992, allocations: 167.5 MB / 0.7957 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007021/0.6063, allocations: 6.538 MB / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005891/0.6069, allocations: 11.78 kB / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.6075, allocations: 173.7 kB / 0.8022 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.6094, allocations: 0.8387 MB / 0.8031 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.6102, allocations: 326.1 kB / 0.8034 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.6108, allocations: 0.716 MB / 0.8041 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.6112, allocations: 278.9 kB / 0.8043 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.6121, allocations: 0.5581 MB / 0.8049 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.6124, allocations: 267.1 kB / 0.8051 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.6124, allocations: 22.97 kB / 0.8052 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.6129, allocations: 344.1 kB / 0.8055 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.613, allocations: 101.5 kB / 0.8056 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.6131, allocations: 169.7 kB / 0.8057 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.6136, allocations: 467 kB / 0.8062 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6136, allocations: 0 / 0.8062 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6136, allocations: 6.938 kB / 0.8062 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6136, allocations: 0 / 0.8062 GB, free: 11.68 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007133/0.6144, allocations: 0.6171 MB / 0.8068 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.6144, allocations: 7.531 kB / 0.8068 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.6147, allocations: 58.33 kB / 0.8069 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.6151, allocations: 325.5 kB / 0.8072 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6151, allocations: 23.84 kB / 0.8072 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.6151, allocations: 21.81 kB / 0.8072 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.6156, allocations: 322.3 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6156, allocations: 2.531 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.6156, allocations: 9.531 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6156, allocations: 5.094 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.616, allocations: 207.2 kB / 0.8077 GB, free: 10.8 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.001334/0.6173, allocations: 1.538 MB / 0.8092 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.6176, allocations: 123.1 kB / 0.8094 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6177, allocations: 90.33 kB / 0.8094 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/0.6182, allocations: 299.9 kB / 0.8097 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.6183, allocations: 33.88 kB / 0.8098 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.6183, allocations: 0 / 0.8098 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006876/0.619, allocations: 277.7 kB / 0.81 GB, free: 9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.619, allocations: 55.34 kB / 0.8101 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.6193, allocations: 319.1 kB / 0.8104 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.6193, allocations: 28.7 kB / 0.8104 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.6194, allocations: 181.3 kB / 0.8106 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.6194, allocations: 43.02 kB / 0.8106 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.6195, allocations: 44.42 kB / 0.8107 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.6196, allocations: 339.2 kB / 0.811 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6197, allocations: 55.89 kB / 0.811 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.6199, allocations: 115.1 kB / 0.8112 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.6202, allocations: 179.6 kB / 0.8113 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6202, allocations: 2.906 kB / 0.8113 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003552/0.6206, allocations: 216.9 kB / 0.8115 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6206, allocations: 5.062 kB / 0.8115 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.6206, allocations: 5.719 kB / 0.8115 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6206, allocations: 3.125 kB / 0.8115 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.6208, allocations: 32.48 kB / 0.8116 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6208, allocations: 2.312 kB / 0.8116 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6209, allocations: 37.77 kB / 0.8116 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.621, allocations: 6.875 kB / 0.8116 GB, free: 7.973 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001207/0.6211, allocations: 156.4 kB / 0.8118 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.6211, allocations: 24.44 kB / 0.8118 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.6215, allocations: 208.2 kB / 0.812 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6215, allocations: 1.875 kB / 0.812 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6216, allocations: 0 / 0.812 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6216, allocations: 4 kB / 0.812 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.6224, allocations: 0.6868 MB / 0.8127 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6224, allocations: 6.391 kB / 0.8127 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.6225, allocations: 24.42 kB / 0.8127 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.6226, allocations: 2.062 kB / 0.8127 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6226, allocations: 6.531 kB / 0.8127 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.6226, allocations: 6.75 kB / 0.8127 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6226, allocations: 3.25 kB / 0.8127 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.623, allocations: 331.4 kB / 0.813 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.6231, allocations: 123.3 kB / 0.8132 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.6231, allocations: 3.25 kB / 0.8132 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.6233, allocations: 16.33 kB / 0.8132 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.6233, allocations: 14.92 kB / 0.8132 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.6233, allocations: 4.969 kB / 0.8132 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001738/0.6235, allocations: 218 kB / 0.8134 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6235, allocations: 0 / 0.8134 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003231/0.6238, allocations: 83.14 kB / 0.8135 GB, free: 6.781 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 (13): * Single equations (assignments): 13 * 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.0003183/0.6242, allocations: 164.5 kB / 0.8136 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.6245, allocations: 167.5 kB / 0.8138 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6245, allocations: 0 / 0.8138 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.6247, allocations: 78.42 kB / 0.8139 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.6254, allocations: 158.7 kB / 0.814 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.6261, allocations: 0.5303 MB / 0.8145 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.6264, allocations: 0.7834 MB / 0.8153 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000151/0.6266, allocations: 66.02 kB / 0.8154 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.6266, allocations: 23.22 kB / 0.8154 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6266, allocations: 0 / 0.8154 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.008405/0.6351, allocations: 5.149 MB / 0.8204 GB, free: 2.902 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)