Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 113.5 kB / 17.04 MB, free: 6.082 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.0009959/0.000996, allocations: 196 kB / 17.98 MB, free: 5.16 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.12 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3068, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03309/0.3399, allocations: 41.92 MB / 0.5985 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.3511, allocations: 8.894 MB / 0.6072 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.3526, allocations: 41.88 kB / 0.6073 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.3543, allocations: 0.5752 MB / 0.6078 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.3576, allocations: 1.27 MB / 0.6091 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.3607, allocations: 1.187 MB / 0.6102 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.3643, allocations: 2.684 MB / 0.6128 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.3655, allocations: 0.9266 MB / 0.6137 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.3679, allocations: 1.041 MB / 0.6148 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.3689, allocations: 0.7467 MB / 0.6155 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.369, allocations: 120 kB / 0.6156 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.3713, allocations: 1.186 MB / 0.6168 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.3717, allocations: 331 kB / 0.6171 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006918/0.3724, allocations: 0.6415 MB / 0.6177 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.3754, allocations: 2.356 MB / 0.62 GB, free: 4.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3754, allocations: 0 / 0.62 GB, free: 4.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3754, allocations: 4 kB / 0.62 GB, free: 4.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.3754, allocations: 0 / 0.62 GB, free: 4.527 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002547/0.378, allocations: 1.728 MB / 0.6217 GB, free: 2.703 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.378, allocations: 12.03 kB / 0.6217 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.3784, allocations: 139.4 kB / 0.6218 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.3801, allocations: 1.081 MB / 0.6229 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3802, allocations: 49.31 kB / 0.6229 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3803, allocations: 72 kB / 0.623 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.3816, allocations: 0.8058 MB / 0.6238 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3816, allocations: 0 / 0.6238 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.3817, allocations: 32 kB / 0.6238 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.3817, allocations: 16 kB / 0.6238 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3827, allocations: 0.6102 MB / 0.6244 GB, free: 15.82 MB / 478.1 MB 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.00403/0.3868, allocations: 3.209 MB / 0.6276 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.3876, allocations: 459.3 kB / 0.628 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.3881, allocations: 312.7 kB / 0.6283 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009299/0.3891, allocations: 0.7635 MB / 0.6291 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3891, allocations: 34.56 kB / 0.6291 GB, free: 10.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.926e-06/0.3891, allocations: 4 kB / 0.6291 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.00185/0.391, allocations: 1.006 MB / 0.6301 GB, free: 9.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.3912, allocations: 140.5 kB / 0.6302 GB, free: 9.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3927, allocations: 1.083 MB / 0.6313 GB, free: 8.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.3928, allocations: 33.7 kB / 0.6313 GB, free: 8.363 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.3931, allocations: 464.6 kB / 0.6317 GB, free: 7.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3933, allocations: 142 kB / 0.6319 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3935, allocations: 118 kB / 0.632 GB, free: 7.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3936, allocations: 322 kB / 0.6323 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3941, allocations: 354.6 kB / 0.6326 GB, free: 6.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.3947, allocations: 454.7 kB / 0.6331 GB, free: 6.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3959, allocations: 0.9715 MB / 0.634 GB, free: 5.449 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3959, allocations: 0 / 0.634 GB, free: 5.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001673/0.3976, allocations: 1.108 MB / 0.6351 GB, free: 4.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.3977, allocations: 190.2 kB / 0.6353 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3977, allocations: 3.938 kB / 0.6353 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3978, allocations: 4 kB / 0.6353 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3981, allocations: 87.89 kB / 0.6354 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3981, allocations: 7.938 kB / 0.6354 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.3987, allocations: 75.34 kB / 0.6355 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.3988, allocations: 27.98 kB / 0.6355 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008191/0.3996, allocations: 0.5947 MB / 0.6361 GB, free: 3.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005733/0.4002, allocations: 446.8 kB / 0.6365 GB, free: 2.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001149/0.4013, allocations: 0.9669 MB / 0.6374 GB, free: 1.754 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.4013, allocations: 4 kB / 0.6374 GB, free: 1.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001469/0.4028, allocations: 1.102 MB / 0.6385 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4029, allocations: 186.2 kB / 0.6387 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4029, allocations: 0 / 0.6387 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.403, allocations: 7.984 kB / 0.6387 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.4033, allocations: 92.11 kB / 0.6388 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4033, allocations: 4 kB / 0.6388 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.4038, allocations: 63.69 kB / 0.6388 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.4039, allocations: 27.98 kB / 0.6389 GB, free: 200 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.000252/0.4041, allocations: 301.3 kB / 0.6392 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4043, allocations: 102.8 kB / 0.6393 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.4058, allocations: 0.9175 MB / 0.6402 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4058, allocations: 4 kB / 0.6402 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4058, allocations: 0 / 0.6402 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.407, allocations: 0.98 MB / 0.6411 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.41, allocations: 2.117 MB / 0.6432 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.41, allocations: 0 / 0.6432 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4103, allocations: 63.89 kB / 0.6432 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.4103, allocations: 7.938 kB / 0.6433 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.4104, allocations: 20 kB / 0.6433 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.4104, allocations: 4 kB / 0.6433 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4104, allocations: 8.156 kB / 0.6433 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4122, allocations: 1.389 MB / 0.6446 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.4127, allocations: 295.4 kB / 0.6449 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.4128, allocations: 11.94 kB / 0.6449 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.4133, allocations: 40.03 kB / 0.645 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4134, allocations: 47.92 kB / 0.645 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.4135, allocations: 20 kB / 0.645 GB, free: 9.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.4145, allocations: 0.7806 MB / 0.6458 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4145, allocations: 0 / 0.6458 GB, free: 8.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001315/0.4158, allocations: 0.5187 MB / 0.6463 GB, free: 8.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.0007556/0.4166, allocations: 398 kB / 0.6467 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.4189, allocations: 1.954 MB / 0.6486 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4189, allocations: 0 / 0.6486 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.4196, allocations: 0.5464 MB / 0.6491 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.4217, allocations: 0.5409 MB / 0.6497 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.4244, allocations: 1.892 MB / 0.6515 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.4251, allocations: 1.072 MB / 0.6525 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006363/0.4257, allocations: 204.9 kB / 0.6527 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.4259, allocations: 79.42 kB / 0.6528 GB, free: 1.332 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.4259, allocations: 0 / 0.6528 GB, free: 1.332 MB / 494.1 MB Notification: Performance of Templates: time 0.03706/0.463, allocations: 24.37 MB / 0.6766 GB, free: 9.297 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)