Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001275/0.001275, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9085/0.9085, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.64 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1678, allocations: 80.92 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5536/0.7214, allocations: 161.8 MB / 0.8234 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006111/0.7276, allocations: 4.563 MB / 0.8278 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.728, allocations: 9.406 kB / 0.8278 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.7286, allocations: 123.1 kB / 0.828 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.7295, allocations: 346.3 kB / 0.8283 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.7303, allocations: 278.4 kB / 0.8286 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000688/0.731, allocations: 0.5595 MB / 0.8291 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.7314, allocations: 182.5 kB / 0.8293 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.7325, allocations: 470.9 kB / 0.8297 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.7327, allocations: 184.3 kB / 0.8299 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.7327, allocations: 15.66 kB / 0.8299 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.7329, allocations: 80.03 kB / 0.83 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.7331, allocations: 95.8 kB / 0.8301 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.7332, allocations: 120.9 kB / 0.8302 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.7336, allocations: 303 kB / 0.8305 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.7336, allocations: 7.938 kB / 0.8305 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7336, allocations: 0 / 0.8305 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7336, allocations: 2.781 kB / 0.8305 GB, free: 14.92 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009025/0.7345, allocations: 0.5419 MB / 0.831 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7346, allocations: 10.7 kB / 0.831 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.7347, allocations: 27.48 kB / 0.8311 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.7351, allocations: 289 kB / 0.8313 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7351, allocations: 11.75 kB / 0.8314 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.7351, allocations: 21 kB / 0.8314 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.7356, allocations: 257.8 kB / 0.8316 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7356, allocations: 3.938 kB / 0.8316 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.7356, allocations: 8.875 kB / 0.8316 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7356, allocations: 6.766 kB / 0.8316 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.736, allocations: 147.8 kB / 0.8318 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.7374, allocations: 1.368 MB / 0.8331 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.7377, allocations: 181.8 kB / 0.8333 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.7379, allocations: 97.86 kB / 0.8334 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.7382, allocations: 124.1 kB / 0.8335 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.7383, allocations: 37.22 kB / 0.8335 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.7383, allocations: 3.938 kB / 0.8335 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006499/0.7389, allocations: 206.9 kB / 0.8337 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.7391, allocations: 191.5 kB / 0.8339 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.7394, allocations: 288.5 kB / 0.8342 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.7395, allocations: 25.7 kB / 0.8342 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.7396, allocations: 148.5 kB / 0.8344 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.7397, allocations: 36.62 kB / 0.8344 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.7398, allocations: 38.69 kB / 0.8344 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.7399, allocations: 338.6 kB / 0.8348 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.7401, allocations: 44.88 kB / 0.8348 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.7403, allocations: 107.4 kB / 0.8349 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.7406, allocations: 161.9 kB / 0.8351 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7406, allocations: 6.188 kB / 0.8351 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003895/0.741, allocations: 194 kB / 0.8352 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.7411, allocations: 9.641 kB / 0.8353 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7411, allocations: 2.125 kB / 0.8353 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.7411, allocations: 5.25 kB / 0.8353 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.7412, allocations: 30.3 kB / 0.8353 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7412, allocations: 3 kB / 0.8353 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7414, allocations: 41.89 kB / 0.8353 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.7415, allocations: 7.75 kB / 0.8353 GB, free: 10.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001634/0.7416, allocations: 139.4 kB / 0.8355 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7418, allocations: 33.75 kB / 0.8355 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.7421, allocations: 128.5 kB / 0.8356 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.7421, allocations: 2.906 kB / 0.8356 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7421, allocations: 7.312 kB / 0.8356 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7421, allocations: 0 / 0.8356 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/0.7431, allocations: 0.7709 MB / 0.8364 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7431, allocations: 2.469 kB / 0.8364 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.7432, allocations: 30.89 kB / 0.8364 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7432, allocations: 0 / 0.8364 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.7433, allocations: 8.844 kB / 0.8364 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7433, allocations: 0 / 0.8364 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7433, allocations: 2.094 kB / 0.8364 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.7439, allocations: 346.7 kB / 0.8368 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.744, allocations: 107.1 kB / 0.8369 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.744, allocations: 6.906 kB / 0.8369 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.7442, allocations: 6.766 kB / 0.8369 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.7442, allocations: 23.27 kB / 0.8369 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.7442, allocations: 6.75 kB / 0.8369 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002311/0.7445, allocations: 209.8 kB / 0.8371 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7445, allocations: 0 / 0.8371 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000352/0.7448, allocations: 50.09 kB / 0.8372 GB, free: 8.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (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.0004027/0.7452, allocations: 141.8 kB / 0.8373 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.7456, allocations: 121.5 kB / 0.8374 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7456, allocations: 2.625 kB / 0.8374 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.7457, allocations: 59.39 kB / 0.8375 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.7465, allocations: 136 kB / 0.8376 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.7473, allocations: 0.5105 MB / 0.8381 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.7477, allocations: 0.7619 MB / 0.8388 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.7478, allocations: 26.44 kB / 0.8389 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.7478, allocations: 0 / 0.8389 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of Templates: time 0.006653/0.7544, allocations: 3.839 MB / 0.8426 GB, free: 5.598 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)