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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 96.5 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 174.5 kB / 16.57 MB, free: 6.395 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.369/1.369, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 113.7 MB / 405.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 8.875 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1878, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.3537/0.5416, allocations: 35.2 MB / 0.5911 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5523, allocations: 7.727 MB / 0.5987 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.5536, allocations: 33.09 kB / 0.5987 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5552, allocations: 0.5072 MB / 0.5992 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.5589, allocations: 1.19 MB / 0.6003 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.5628, allocations: 1.165 MB / 0.6015 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.5659, allocations: 1.514 MB / 0.603 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.5672, allocations: 0.6366 MB / 0.6036 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.569, allocations: 0.7302 MB / 0.6043 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007438/0.5697, allocations: 481.3 kB / 0.6048 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5698, allocations: 36.44 kB / 0.6048 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5723, allocations: 0.7411 MB / 0.6055 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.5726, allocations: 219 kB / 0.6057 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.5729, allocations: 258 kB / 0.606 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.5756, allocations: 1.657 MB / 0.6076 GB, free: 9.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5756, allocations: 0 / 0.6076 GB, free: 9.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5756, allocations: 1.344 kB / 0.6076 GB, free: 9.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.811e-05/0.5756, allocations: 0 / 0.6076 GB, free: 9.316 MB / 446.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.002872/0.5785, allocations: 1.504 MB / 0.6091 GB, free: 24.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5785, allocations: 9.312 kB / 0.6091 GB, free: 24.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.5787, allocations: 108.5 kB / 0.6092 GB, free: 24.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.579, allocations: 131.1 kB / 0.6093 GB, free: 24.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.5808, allocations: 1.137 MB / 0.6104 GB, free: 23.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.5809, allocations: 48.78 kB / 0.6104 GB, free: 23.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5811, allocations: 73.66 kB / 0.6105 GB, free: 23.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5826, allocations: 0.8071 MB / 0.6113 GB, free: 22.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5826, allocations: 1.062 kB / 0.6113 GB, free: 22.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/0.5827, allocations: 24.77 kB / 0.6113 GB, free: 22.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.5827, allocations: 19.12 kB / 0.6113 GB, free: 22.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5841, allocations: 0.6174 MB / 0.612 GB, free: 22.71 MB / 462.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.004739/0.5888, allocations: 3.129 MB / 0.615 GB, free: 20.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.5897, allocations: 456.2 kB / 0.6154 GB, free: 20.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/0.5905, allocations: 0.7829 MB / 0.6162 GB, free: 19.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5905, allocations: 33.81 kB / 0.6162 GB, free: 19.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 3.717e-06/0.5905, allocations: 0 / 0.6162 GB, free: 19.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002256/0.5928, allocations: 1.246 MB / 0.6175 GB, free: 18.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.5929, allocations: 140.9 kB / 0.6176 GB, free: 18.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.5943, allocations: 1.007 MB / 0.6186 GB, free: 18.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.5944, allocations: 33.67 kB / 0.6186 GB, free: 18.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.5948, allocations: 465.7 kB / 0.6191 GB, free: 17.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.5949, allocations: 134.5 kB / 0.6192 GB, free: 17.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5949, allocations: 12.5 kB / 0.6192 GB, free: 17.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5951, allocations: 326.3 kB / 0.6195 GB, free: 17.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.5956, allocations: 328.6 kB / 0.6198 GB, free: 17.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.5962, allocations: 432.2 kB / 0.6202 GB, free: 16.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.5969, allocations: 0.5253 MB / 0.6207 GB, free: 16.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5969, allocations: 1.125 kB / 0.6207 GB, free: 16.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001579/0.5985, allocations: 1.073 MB / 0.6218 GB, free: 15.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.5989, allocations: 0.9612 MB / 0.6227 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5989, allocations: 6.125 kB / 0.6227 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.5989, allocations: 8.328 kB / 0.6227 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.5993, allocations: 104.9 kB / 0.6228 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.5993, allocations: 4.562 kB / 0.6228 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.6002, allocations: 106.6 kB / 0.6229 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.6002, allocations: 24.88 kB / 0.623 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.6002, allocations: 3.438 kB / 0.623 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.6017, allocations: 1.073 MB / 0.624 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6017, allocations: 6.984 kB / 0.624 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.6017, allocations: 4.312 kB / 0.624 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.602, allocations: 95.8 kB / 0.6241 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6021, allocations: 4.312 kB / 0.6241 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.6027, allocations: 109.3 kB / 0.6242 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.6028, allocations: 25.25 kB / 0.6243 GB, free: 13.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006686/0.6034, allocations: 479.6 kB / 0.6247 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.6036, allocations: 101.4 kB / 0.6248 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.605, allocations: 0.9214 MB / 0.6257 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6051, allocations: 4 kB / 0.6257 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6051, allocations: 0 / 0.6257 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.6063, allocations: 0.9891 MB / 0.6267 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.6096, allocations: 2.086 MB / 0.6287 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6096, allocations: 2.75 kB / 0.6287 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.6099, allocations: 61.66 kB / 0.6288 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6099, allocations: 6.031 kB / 0.6288 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.6099, allocations: 22.41 kB / 0.6288 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.6099, allocations: 8.906 kB / 0.6288 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.61, allocations: 5.781 kB / 0.6288 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.6119, allocations: 1.532 MB / 0.6303 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.6123, allocations: 284.3 kB / 0.6306 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6125, allocations: 21.8 kB / 0.6306 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.6131, allocations: 57.41 kB / 0.6307 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.6133, allocations: 52.19 kB / 0.6307 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.6133, allocations: 22.33 kB / 0.6307 GB, free: 9.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6144, allocations: 0.7128 MB / 0.6314 GB, free: 8.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6144, allocations: 1.375 kB / 0.6314 GB, free: 8.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001875/0.6163, allocations: 0.5101 MB / 0.6319 GB, free: 8.664 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/0.6198, allocations: 2.969 MB / 0.6348 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.6223, allocations: 1.914 MB / 0.6367 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6223, allocations: 4.125 kB / 0.6367 GB, free: 5.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.623, allocations: 0.544 MB / 0.6372 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.6256, allocations: 0.4987 MB / 0.6377 GB, free: 4.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.6305, allocations: 4.111 MB / 0.6417 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.6312, allocations: 1.091 MB / 0.6428 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008688/0.6321, allocations: 221.8 kB / 0.643 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.6326, allocations: 383.3 kB / 0.6434 GB, free: 14.95 MB / 478.1 MB Notification: Performance of SimCode: time 2.856e-06/0.6326, allocations: 0 / 0.6434 GB, free: 14.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.7412, allocations: 31.38 MB / 0.674 GB, free: 108 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.7414, allocations: 244.6 kB / 0.6743 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.522, allocations: 5.562 kB / 0.6743 GB, free: 15.84 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: