Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001282, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.509/1.509, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4325/0.4325, allocations: 54.93 MB / 324.4 MB, free: 136 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.00147/0.00147, allocations: 75.81 kB / 394.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1581, allocations: 59.58 MB / 454.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4465/0.6047, allocations: 177.1 MB / 0.6167 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008068/0.6128, allocations: 7.751 MB / 0.6243 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005791/0.6134, allocations: 16.81 kB / 0.6243 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009212/0.6144, allocations: 278.5 kB / 0.6245 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.617, allocations: 1.027 MB / 0.6255 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.6189, allocations: 0.7662 MB / 0.6263 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.6205, allocations: 1.474 MB / 0.6277 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.6211, allocations: 475.8 kB / 0.6282 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.623, allocations: 0.9886 MB / 0.6292 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.6237, allocations: 0.5801 MB / 0.6297 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.6238, allocations: 60 kB / 0.6298 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.625, allocations: 0.7639 MB / 0.6305 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.6252, allocations: 240.2 kB / 0.6308 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.6256, allocations: 358.5 kB / 0.6311 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.6268, allocations: 1.196 MB / 0.6323 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6268, allocations: 0 / 0.6323 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6268, allocations: 0 / 0.6323 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.6268, allocations: 0 / 0.6323 GB, free: 6.758 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001513/0.6284, allocations: 1.002 MB / 0.6332 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6284, allocations: 16.03 kB / 0.6333 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.6293, allocations: 143.8 kB / 0.6334 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.6299, allocations: 447.1 kB / 0.6338 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.6299, allocations: 37 kB / 0.6339 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.63, allocations: 59.98 kB / 0.6339 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008503/0.6309, allocations: 0.514 MB / 0.6344 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6309, allocations: 3.938 kB / 0.6344 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.631, allocations: 23.94 kB / 0.6344 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.631, allocations: 16 kB / 0.6345 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.6318, allocations: 475.6 kB / 0.6349 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.6342, allocations: 1.855 MB / 0.6367 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.6347, allocations: 334.4 kB / 0.637 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.635, allocations: 172.8 kB / 0.6372 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.6353, allocations: 121 kB / 0.6373 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6354, allocations: 42.55 kB / 0.6374 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.6354, allocations: 4 kB / 0.6374 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001076/0.6365, allocations: 0.5442 MB / 0.6379 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6365, allocations: 59.39 kB / 0.638 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.637, allocations: 0.4941 MB / 0.6384 GB, free: 120 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.637, allocations: 37.7 kB / 0.6385 GB, free: 76 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2639/0.901, allocations: 255.8 kB / 0.6387 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.9011, allocations: 117.2 kB / 0.6388 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.9013, allocations: 86.89 kB / 0.6389 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.9014, allocations: 361.5 kB / 0.6393 GB, free: 163 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.9018, allocations: 170.3 kB / 0.6394 GB, free: 163 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.9021, allocations: 237.5 kB / 0.6396 GB, free: 162.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.9027, allocations: 469.8 kB / 0.6401 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9027, allocations: 0.5625 kB / 0.6401 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008703/0.9036, allocations: 0.5731 MB / 0.6407 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.9036, allocations: 63.64 kB / 0.6407 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9036, allocations: 3 kB / 0.6407 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.9037, allocations: 6.312 kB / 0.6407 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.904, allocations: 82.98 kB / 0.6408 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.904, allocations: 3.594 kB / 0.6408 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.9044, allocations: 70.84 kB / 0.6409 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.9045, allocations: 17.47 kB / 0.6409 GB, free: 162.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (senHSen_flow.i_x,senHLat_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.0002113/0.9047, allocations: 199.2 kB / 0.6411 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.9048, allocations: 50.91 kB / 0.6411 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/0.9056, allocations: 473.6 kB / 0.6416 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9056, allocations: 2.938 kB / 0.6416 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9056, allocations: 3.562 kB / 0.6416 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9056, allocations: 3.562 kB / 0.6416 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.9068, allocations: 1.068 MB / 0.6426 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9068, allocations: 3 kB / 0.6426 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.9071, allocations: 67.34 kB / 0.6427 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.9072, allocations: 3.844 kB / 0.6427 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.9072, allocations: 11.36 kB / 0.6427 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.9072, allocations: 4.781 kB / 0.6427 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9072, allocations: 4.938 kB / 0.6427 GB, free: 162 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.9082, allocations: 0.7637 MB / 0.6435 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.9084, allocations: 189.2 kB / 0.6436 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.9085, allocations: 10 kB / 0.6437 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9089, allocations: 34.09 kB / 0.6437 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.909, allocations: 23.81 kB / 0.6437 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.909, allocations: 25.48 kB / 0.6437 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003842/0.9094, allocations: 359 kB / 0.6441 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.403e-06/0.9094, allocations: 0 / 0.6441 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006025/0.91, allocations: 163.2 kB / 0.6442 GB, free: 161.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (32): * Single equations (assignments): 32 * 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.0005663/0.9106, allocations: 183.1 kB / 0.6444 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009276/0.9116, allocations: 0.5272 MB / 0.6449 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9116, allocations: 3.062 kB / 0.6449 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.9119, allocations: 200.3 kB / 0.6451 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.9132, allocations: 304.7 kB / 0.6454 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.9149, allocations: 1.338 MB / 0.6467 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.9153, allocations: 0.8703 MB / 0.6476 GB, free: 160 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004259/0.9157, allocations: 120.7 kB / 0.6477 GB, free: 160 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.9158, allocations: 43.5 kB / 0.6477 GB, free: 160 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.9158, allocations: 0 / 0.6477 GB, free: 160 MB / 0.4981 GB Notification: Performance of Templates: time 0.01769/0.9335, allocations: 10.79 MB / 0.6583 GB, free: 159.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)