Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_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.001171/0.001171, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001383/0.001383, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.059/1.059, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 12 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 83.41 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.4088/0.6076, allocations: 35.23 MB / 0.6318 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.6183, allocations: 7.739 MB / 0.6393 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.6201, allocations: 35.28 kB / 0.6394 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.622, allocations: 0.5025 MB / 0.6399 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.6262, allocations: 1.187 MB / 0.641 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.6297, allocations: 1.167 MB / 0.6421 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.6326, allocations: 1.501 MB / 0.6436 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009936/0.6336, allocations: 0.6454 MB / 0.6442 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.6351, allocations: 0.7315 MB / 0.645 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.6357, allocations: 479.7 kB / 0.6454 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.6358, allocations: 34.34 kB / 0.6455 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.6376, allocations: 0.7346 MB / 0.6462 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.6378, allocations: 221.4 kB / 0.6464 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.6381, allocations: 261.4 kB / 0.6466 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.6397, allocations: 1.77 MB / 0.6484 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6397, allocations: 0 / 0.6484 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6397, allocations: 0 / 0.6484 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.6397, allocations: 0 / 0.6484 GB, free: 14.1 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002149/0.6418, allocations: 1.509 MB / 0.6498 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6419, allocations: 10.5 kB / 0.6498 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.642, allocations: 106.8 kB / 0.6499 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.6423, allocations: 131.2 kB / 0.6501 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.6439, allocations: 1.133 MB / 0.6512 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.6439, allocations: 50.72 kB / 0.6512 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.644, allocations: 66.66 kB / 0.6513 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.6453, allocations: 0.8035 MB / 0.6521 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6454, allocations: 5.406 kB / 0.6521 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.6454, allocations: 22.69 kB / 0.6521 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.6455, allocations: 23.64 kB / 0.6521 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6465, allocations: 0.6096 MB / 0.6527 GB, free: 11.46 MB / 0.4981 GB 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.003728/0.6502, allocations: 3.144 MB / 0.6558 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.651, allocations: 461.7 kB / 0.6562 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000696/0.6517, allocations: 0.7789 MB / 0.657 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6518, allocations: 40.66 kB / 0.657 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.024e-06/0.6518, allocations: 0 / 0.657 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001833/0.6536, allocations: 1.247 MB / 0.6582 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6537, allocations: 140.6 kB / 0.6584 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6552, allocations: 1.001 MB / 0.6594 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6552, allocations: 34.47 kB / 0.6594 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.6556, allocations: 464.6 kB / 0.6598 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6557, allocations: 134.4 kB / 0.66 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.6558, allocations: 11.69 kB / 0.66 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.6559, allocations: 325.7 kB / 0.6603 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.6564, allocations: 325.2 kB / 0.6606 GB, free: 6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.657, allocations: 438.4 kB / 0.661 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.6577, allocations: 0.5244 MB / 0.6615 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6577, allocations: 5.047 kB / 0.6615 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001565/0.6593, allocations: 1.071 MB / 0.6626 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.6595, allocations: 0.9606 MB / 0.6635 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6596, allocations: 2.891 kB / 0.6635 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.6596, allocations: 8.422 kB / 0.6635 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.66, allocations: 96.98 kB / 0.6636 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.66, allocations: 4.578 kB / 0.6636 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.6608, allocations: 114.6 kB / 0.6637 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.6609, allocations: 31.53 kB / 0.6638 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6609, allocations: 3.094 kB / 0.6638 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/0.6625, allocations: 1.071 MB / 0.6648 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6625, allocations: 2.875 kB / 0.6648 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.6625, allocations: 3.844 kB / 0.6648 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.6629, allocations: 93.36 kB / 0.6649 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6629, allocations: 4.469 kB / 0.6649 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.6636, allocations: 104.4 kB / 0.665 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.6637, allocations: 27.41 kB / 0.665 GB, free: 3.191 MB / 0.4981 GB 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.0006906/0.6644, allocations: 486.9 kB / 0.6655 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.6645, allocations: 101 kB / 0.6656 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.6662, allocations: 0.9199 MB / 0.6665 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6663, allocations: 4.531 kB / 0.6665 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.6663, allocations: 1.391 kB / 0.6665 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/0.6675, allocations: 0.9957 MB / 0.6675 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.671, allocations: 2.085 MB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.671, allocations: 3.625 kB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.6713, allocations: 62.92 kB / 0.6696 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.6714, allocations: 5.281 kB / 0.6696 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.6714, allocations: 17.98 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6714, allocations: 8.078 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6714, allocations: 4.109 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6735, allocations: 1.52 MB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.674, allocations: 290.3 kB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.6742, allocations: 12.83 kB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/0.6747, allocations: 60.41 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6749, allocations: 54.39 kB / 0.6715 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.675, allocations: 27.38 kB / 0.6715 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001172/0.6762, allocations: 0.7176 MB / 0.6722 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6762, allocations: 1.219 kB / 0.6722 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001657/0.6778, allocations: 0.5134 MB / 0.6727 GB, free: 14.85 MB / 0.5137 GB 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.004201/0.682, allocations: 2.973 MB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.6849, allocations: 1.907 MB / 0.6775 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.685, allocations: 0 / 0.6775 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/0.6858, allocations: 0.5508 MB / 0.678 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.6886, allocations: 0.4931 MB / 0.6785 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.6938, allocations: 4.122 MB / 0.6825 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.6946, allocations: 1.096 MB / 0.6836 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009832/0.6956, allocations: 215.5 kB / 0.6838 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.6961, allocations: 383.2 kB / 0.6842 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.6962, allocations: 1.25 kB / 0.6842 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.7577, allocations: 31.63 MB / 0.7151 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.758, allocations: 277.6 kB / 0.7153 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.26, allocations: 0 / 0.7153 GB, free: 2.105 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: