Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001397, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.194/1.194, allocations: 173.4 MB / 471.3 MB, free: 6.617 MB / 366.1 MB " [Timeout remaining time 179] 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 76.95 kB / 0.649 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2141, allocations: 89.53 MB / 0.7364 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.753/0.9671, allocations: 167.5 MB / 0.9 GB, free: 72 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007727/0.9749, allocations: 6.549 MB / 0.9064 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000679/0.9756, allocations: 12.53 kB / 0.9065 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.9762, allocations: 169.3 kB / 0.9066 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.9788, allocations: 0.8398 MB / 0.9074 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.9798, allocations: 328 kB / 0.9077 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.9808, allocations: 0.7088 MB / 0.9084 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.9812, allocations: 283.3 kB / 0.9087 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.9829, allocations: 0.6953 MB / 0.9094 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.9833, allocations: 260.7 kB / 0.9096 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.9834, allocations: 22.44 kB / 0.9097 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.9842, allocations: 326.4 kB / 0.91 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.9844, allocations: 111 kB / 0.9101 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.9846, allocations: 168.5 kB / 0.9102 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.9854, allocations: 472 kB / 0.9107 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9854, allocations: 0 / 0.9107 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9854, allocations: 2.297 kB / 0.9107 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.9854, allocations: 0 / 0.9107 GB, free: 14.91 MB / 0.6856 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.0009496/0.9863, allocations: 0.6264 MB / 0.9113 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9864, allocations: 9.281 kB / 0.9113 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.9867, allocations: 63.45 kB / 0.9114 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.9873, allocations: 322.2 kB / 0.9117 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.9873, allocations: 19.97 kB / 0.9117 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.9873, allocations: 26.72 kB / 0.9117 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.9879, allocations: 318.2 kB / 0.912 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9879, allocations: 1 kB / 0.912 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.9879, allocations: 15.89 kB / 0.912 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.9879, allocations: 6.469 kB / 0.912 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.9884, allocations: 207.8 kB / 0.9122 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.9901, allocations: 1.542 MB / 0.9138 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.9903, allocations: 117.5 kB / 0.9139 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.9905, allocations: 95.23 kB / 0.914 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.9911, allocations: 300.5 kB / 0.9142 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.9912, allocations: 33.75 kB / 0.9143 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.9912, allocations: 6.75 kB / 0.9143 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007613/0.992, allocations: 272 kB / 0.9145 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.992, allocations: 53.78 kB / 0.9146 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.9923, allocations: 309.8 kB / 0.9149 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.9924, allocations: 27.02 kB / 0.9149 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.9925, allocations: 191.3 kB / 0.9151 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.9926, allocations: 42.44 kB / 0.9151 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.9927, allocations: 38.27 kB / 0.9152 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9928, allocations: 345.3 kB / 0.9155 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.993, allocations: 64.89 kB / 0.9156 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.9932, allocations: 112.6 kB / 0.9157 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.9935, allocations: 179 kB / 0.9158 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9935, allocations: 0 / 0.9158 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003976/0.9939, allocations: 219.5 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.994, allocations: 5.5 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.994, allocations: 1.375 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.994, allocations: 2.75 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.9942, allocations: 31.7 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.9942, allocations: 6.75 kB / 0.9161 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.9944, allocations: 38.61 kB / 0.9161 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.9944, allocations: 10.56 kB / 0.9161 GB, free: 11.6 MB / 0.6856 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.0001593/0.9946, allocations: 151 kB / 0.9163 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.9947, allocations: 29.56 kB / 0.9163 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.9951, allocations: 207.6 kB / 0.9165 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9951, allocations: 6.578 kB / 0.9165 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9951, allocations: 1.375 kB / 0.9165 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9951, allocations: 0 / 0.9165 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.9962, allocations: 0.6856 MB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9962, allocations: 0.9688 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.9963, allocations: 30.64 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9963, allocations: 2.031 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.9964, allocations: 10.69 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9964, allocations: 2.469 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9964, allocations: 2.031 kB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.9969, allocations: 342 kB / 0.9176 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.997, allocations: 116.9 kB / 0.9177 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.997, allocations: 10.38 kB / 0.9177 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.9972, allocations: 7.219 kB / 0.9177 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.9973, allocations: 17.98 kB / 0.9177 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.9973, allocations: 5.219 kB / 0.9177 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002234/0.9975, allocations: 229.5 kB / 0.9179 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9975, allocations: 1.156 kB / 0.9179 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004166/0.9979, allocations: 77.28 kB / 0.918 GB, free: 10.61 MB / 0.6856 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.0004223/0.9984, allocations: 164.8 kB / 0.9182 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.9988, allocations: 154.5 kB / 0.9183 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9988, allocations: 1.469 kB / 0.9183 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.999, allocations: 87.34 kB / 0.9184 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.9998, allocations: 152.6 kB / 0.9185 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/1.001, allocations: 0.565 MB / 0.9191 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/1.001, allocations: 0.7766 MB / 0.9199 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/1.001, allocations: 25.44 kB / 0.9199 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of SimCode: time 2e-07/1.001, allocations: 0 / 0.9199 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of Templates: time 0.007586/1.009, allocations: 4.562 MB / 0.9243 GB, free: 8.91 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.22920530801639] Failed to read output from testmodel.py, exit status != 0: 1.0152039430104196 1.026805369 0.039031906000000005 Calling exit ...