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.0009631/0.0009631, allocations: 99.28 kB / 16.02 MB, free: 80 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.0009837/0.0009838, allocations: 182.2 kB / 16.92 MB, free: 6.898 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6452/0.6452, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 9.281 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 77.53 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.2633/0.3825, allocations: 40.82 MB / 0.5999 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3928, allocations: 8.884 MB / 0.6086 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.3942, allocations: 33.12 kB / 0.6086 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.3957, allocations: 485.3 kB / 0.6091 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.3987, allocations: 1.168 MB / 0.6102 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.4014, allocations: 1.046 MB / 0.6113 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003857/0.4053, allocations: 3.363 MB / 0.6145 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.4064, allocations: 0.7477 MB / 0.6153 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4081, allocations: 0.833 MB / 0.6161 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.4092, allocations: 0.6907 MB / 0.6168 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.4094, allocations: 38.47 kB / 0.6168 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.4115, allocations: 1.069 MB / 0.6178 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.4118, allocations: 249.8 kB / 0.6181 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007444/0.4126, allocations: 0.5647 MB / 0.6186 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.4148, allocations: 2.236 MB / 0.6208 GB, free: 1.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4149, allocations: 0 / 0.6208 GB, free: 1.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4149, allocations: 0 / 0.6208 GB, free: 1.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.4149, allocations: 0 / 0.6208 GB, free: 1.289 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.001911/0.4168, allocations: 1.513 MB / 0.6223 GB, free: 16.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4169, allocations: 9.844 kB / 0.6223 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.417, allocations: 109.3 kB / 0.6224 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.4172, allocations: 133.5 kB / 0.6225 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.4187, allocations: 1.069 MB / 0.6236 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4187, allocations: 49.78 kB / 0.6236 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4188, allocations: 66.09 kB / 0.6237 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.4201, allocations: 0.8124 MB / 0.6245 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.4201, allocations: 1 kB / 0.6245 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.4202, allocations: 31.14 kB / 0.6245 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.4202, allocations: 16.25 kB / 0.6245 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4213, allocations: 0.6225 MB / 0.6251 GB, free: 14.13 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.003522/0.4248, allocations: 3.214 MB / 0.6283 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.4255, allocations: 466.7 kB / 0.6287 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.426, allocations: 319.3 kB / 0.629 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/0.4268, allocations: 0.7775 MB / 0.6298 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4268, allocations: 36.91 kB / 0.6298 GB, free: 10.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/0.4268, allocations: 1.531 kB / 0.6298 GB, free: 10.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.001517/0.4283, allocations: 1.013 MB / 0.6308 GB, free: 9.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.4284, allocations: 143.2 kB / 0.6309 GB, free: 9.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4296, allocations: 1.077 MB / 0.632 GB, free: 8.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4297, allocations: 32.45 kB / 0.632 GB, free: 8.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.43, allocations: 468.9 kB / 0.6325 GB, free: 8.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4301, allocations: 134.6 kB / 0.6326 GB, free: 8.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.4302, allocations: 54.88 kB / 0.6326 GB, free: 8.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.4303, allocations: 330.8 kB / 0.633 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.4308, allocations: 347.5 kB / 0.6333 GB, free: 7.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.4313, allocations: 459 kB / 0.6337 GB, free: 7.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4324, allocations: 0.9834 MB / 0.6347 GB, free: 6.742 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4324, allocations: 1.188 kB / 0.6347 GB, free: 6.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00139/0.4338, allocations: 1.116 MB / 0.6358 GB, free: 6.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.434, allocations: 321.3 kB / 0.6361 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.434, allocations: 2.75 kB / 0.6361 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.434, allocations: 2.75 kB / 0.6361 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.4343, allocations: 95.39 kB / 0.6362 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4344, allocations: 8.062 kB / 0.6362 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.435, allocations: 110.9 kB / 0.6363 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.435, allocations: 30.36 kB / 0.6363 GB, free: 5.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.435, allocations: 3.969 kB / 0.6363 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.4364, allocations: 1.115 MB / 0.6374 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.4364, allocations: 0 / 0.6374 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.4364, allocations: 3.906 kB / 0.6374 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.4367, allocations: 92.8 kB / 0.6375 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4367, allocations: 3.312 kB / 0.6375 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.4372, allocations: 105.5 kB / 0.6376 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.4373, allocations: 22.47 kB / 0.6376 GB, free: 4.898 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.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.0004278/0.4377, allocations: 478.4 kB / 0.6381 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.4379, allocations: 105.4 kB / 0.6382 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4391, allocations: 0.917 MB / 0.6391 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4392, allocations: 3.125 kB / 0.6391 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4392, allocations: 3.312 kB / 0.6391 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/0.4402, allocations: 0.9862 MB / 0.6401 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.4428, allocations: 2.141 MB / 0.6422 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4428, allocations: 0.6562 kB / 0.6422 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.4431, allocations: 67.91 kB / 0.6422 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4431, allocations: 7.938 kB / 0.6422 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.4431, allocations: 15.98 kB / 0.6422 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4431, allocations: 12.22 kB / 0.6423 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4432, allocations: 7.938 kB / 0.6423 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4449, allocations: 1.413 MB / 0.6436 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.4452, allocations: 295.5 kB / 0.6439 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4453, allocations: 12 kB / 0.6439 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.4459, allocations: 63.77 kB / 0.644 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.446, allocations: 47.94 kB / 0.644 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.446, allocations: 20 kB / 0.6441 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009041/0.447, allocations: 0.7728 MB / 0.6448 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.447, allocations: 0 / 0.6448 GB, free: 14.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4482, allocations: 0.5109 MB / 0.6453 GB, free: 14.23 MB / 478.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.002579/0.4508, allocations: 2.244 MB / 0.6475 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4529, allocations: 1.954 MB / 0.6494 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4529, allocations: 64 / 0.6494 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.4535, allocations: 0.5487 MB / 0.6499 GB, free: 9.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.456, allocations: 0.5149 MB / 0.6505 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.47, allocations: 9.603 MB / 0.6598 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.4706, allocations: 1.075 MB / 0.6609 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007107/0.4714, allocations: 215.4 kB / 0.6611 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.4718, allocations: 391.2 kB / 0.6615 GB, free: 13.07 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4718, allocations: 0 / 0.6615 GB, free: 13.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6331/1.105, allocations: 31.55 MB / 0.6923 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.105, allocations: 272.3 kB / 0.6925 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.699, allocations: 3.094 kB / 0.6925 GB, free: 13.67 MB / 0.5137 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/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)