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.0006734/0.0006734, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007194/0.0007193, allocations: 174.8 kB / 16.58 MB, free: 6.066 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.171/1.171, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6024/0.6024, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 12.22 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 77.13 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.2495/0.3791, allocations: 38.62 MB / 0.5946 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008929/0.388, allocations: 8.293 MB / 0.6027 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.3887, allocations: 31.81 kB / 0.6028 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009609/0.3897, allocations: 415.3 kB / 0.6031 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.3916, allocations: 0.9884 MB / 0.6041 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.3936, allocations: 0.8439 MB / 0.6049 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.3964, allocations: 2.895 MB / 0.6078 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.3972, allocations: 0.6439 MB / 0.6084 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3984, allocations: 0.794 MB / 0.6092 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.3991, allocations: 0.6578 MB / 0.6098 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.3992, allocations: 37.94 kB / 0.6098 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.4008, allocations: 0.8663 MB / 0.6107 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.401, allocations: 237.7 kB / 0.6109 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.4012, allocations: 258.1 kB / 0.6112 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.4025, allocations: 1.742 MB / 0.6129 GB, free: 7.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4025, allocations: 4 kB / 0.6129 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4025, allocations: 2.016 kB / 0.6129 GB, free: 7.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4025, allocations: 1.094 kB / 0.6129 GB, free: 7.023 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.001773/0.4043, allocations: 1.528 MB / 0.6144 GB, free: 21.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4043, allocations: 9.531 kB / 0.6144 GB, free: 21.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.999e-05/0.4045, allocations: 104 kB / 0.6145 GB, free: 21.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4047, allocations: 137.1 kB / 0.6146 GB, free: 21.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4059, allocations: 1.019 MB / 0.6156 GB, free: 21.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.406, allocations: 62.17 kB / 0.6157 GB, free: 21.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/0.4061, allocations: 74.91 kB / 0.6157 GB, free: 21.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.4072, allocations: 0.7979 MB / 0.6165 GB, free: 20.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4072, allocations: 1.062 kB / 0.6165 GB, free: 20.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.4073, allocations: 31 kB / 0.6165 GB, free: 20.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.4073, allocations: 16.62 kB / 0.6166 GB, free: 20.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.4082, allocations: 0.6177 MB / 0.6172 GB, free: 20.46 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.002861/0.4111, allocations: 3.222 MB / 0.6203 GB, free: 17.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.4117, allocations: 467.4 kB / 0.6208 GB, free: 17.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.4121, allocations: 309.8 kB / 0.6211 GB, free: 17.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.4127, allocations: 0.7812 MB / 0.6218 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.4127, allocations: 36.88 kB / 0.6218 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.814e-06/0.4127, allocations: 1.094 kB / 0.6218 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.001312/0.414, allocations: 1.01 MB / 0.6228 GB, free: 15.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4141, allocations: 135.4 kB / 0.623 GB, free: 15.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4152, allocations: 1.07 MB / 0.624 GB, free: 15.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.4153, allocations: 43.2 kB / 0.6241 GB, free: 15.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.4156, allocations: 465.9 kB / 0.6245 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4157, allocations: 131.8 kB / 0.6246 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.4158, allocations: 8.125 kB / 0.6246 GB, free: 14.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.4159, allocations: 331.4 kB / 0.6249 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.4163, allocations: 345.3 kB / 0.6253 GB, free: 14.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.4169, allocations: 454.2 kB / 0.6257 GB, free: 13.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.4174, allocations: 0.5434 MB / 0.6262 GB, free: 13.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4174, allocations: 1.125 kB / 0.6262 GB, free: 13.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001316/0.4188, allocations: 1.106 MB / 0.6273 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.4189, allocations: 326 kB / 0.6276 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4189, allocations: 1.438 kB / 0.6276 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.419, allocations: 3.562 kB / 0.6276 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.4193, allocations: 91.48 kB / 0.6277 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4193, allocations: 8.078 kB / 0.6277 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.4198, allocations: 109.9 kB / 0.6278 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.4199, allocations: 25.55 kB / 0.6279 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.4199, allocations: 4.812 kB / 0.6279 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/0.4212, allocations: 1.11 MB / 0.6289 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4212, allocations: 3.375 kB / 0.629 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.4212, allocations: 3.656 kB / 0.629 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.4215, allocations: 86.7 kB / 0.629 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4215, allocations: 9.094 kB / 0.629 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.422, allocations: 110.1 kB / 0.6292 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.422, allocations: 19.06 kB / 0.6292 GB, free: 11.63 MB / 462.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.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 (53): * Single equations (assignments): 47 * 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.0003909/0.4224, allocations: 477.8 kB / 0.6296 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4225, allocations: 98.94 kB / 0.6297 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.4237, allocations: 0.9209 MB / 0.6306 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4237, allocations: 4.156 kB / 0.6306 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4237, allocations: 2.344 kB / 0.6306 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009526/0.4247, allocations: 0.9928 MB / 0.6316 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.4272, allocations: 2.135 MB / 0.6337 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4273, allocations: 4 kB / 0.6337 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4275, allocations: 63.5 kB / 0.6337 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4275, allocations: 3.938 kB / 0.6337 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.4276, allocations: 20.33 kB / 0.6338 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4276, allocations: 8.031 kB / 0.6338 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4276, allocations: 6.484 kB / 0.6338 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.4291, allocations: 1.409 MB / 0.6352 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.4295, allocations: 302.3 kB / 0.6354 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.4296, allocations: 14.59 kB / 0.6355 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.4301, allocations: 53.86 kB / 0.6355 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.4302, allocations: 53.47 kB / 0.6356 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.4302, allocations: 19.3 kB / 0.6356 GB, free: 7.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000814/0.431, allocations: 0.7652 MB / 0.6363 GB, free: 6.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 3.938 kB / 0.6363 GB, free: 6.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001081/0.4321, allocations: 0.5115 MB / 0.6368 GB, free: 6.508 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.002254/0.4344, allocations: 2.242 MB / 0.639 GB, free: 4.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.4363, allocations: 1.944 MB / 0.6409 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4363, allocations: 4.875 kB / 0.6409 GB, free: 2.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.4369, allocations: 0.5528 MB / 0.6415 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.4388, allocations: 0.5 MB / 0.642 GB, free: 1.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.4498, allocations: 7.26 MB / 0.649 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.4503, allocations: 1.068 MB / 0.6501 GB, free: 9.121 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006022/0.451, allocations: 207.5 kB / 0.6503 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.4514, allocations: 383.3 kB / 0.6506 GB, free: 8.551 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4514, allocations: 0 / 0.6506 GB, free: 8.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04297/0.4944, allocations: 32.31 MB / 0.6822 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.4946, allocations: 250 kB / 0.6824 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.578, allocations: 5.812 kB / 0.6824 GB, free: 8.434 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: