Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.0008489/0.0008491, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009125/0.0009126, allocations: 172.7 kB / 15.95 MB, free: 208 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.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 83.43 MB / 0.5976 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002227/0.1459, allocations: 1.722 MB / 0.5992 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1476, allocations: 1.081 MB / 0.6003 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1478, allocations: 4 kB / 0.6003 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1482, allocations: 95.53 kB / 0.6004 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1483, allocations: 39.72 kB / 0.6004 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1489, allocations: 175.7 kB / 0.6006 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.1492, allocations: 247.3 kB / 0.6008 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1494, allocations: 73.86 kB / 0.6009 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1496, allocations: 87.69 kB / 0.601 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1497, allocations: 103.5 kB / 0.6011 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1498, allocations: 11.94 kB / 0.6011 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1501, allocations: 187.7 kB / 0.6013 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1502, allocations: 75.73 kB / 0.6013 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1503, allocations: 73.52 kB / 0.6014 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.1507, allocations: 439.1 kB / 0.6018 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1507, allocations: 0 / 0.6018 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1507, allocations: 0 / 0.6018 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.1507, allocations: 0 / 0.6018 GB, free: 3.25 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001002/0.1517, allocations: 0.7659 MB / 0.6026 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1518, allocations: 12.03 kB / 0.6026 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.1519, allocations: 54.55 kB / 0.6026 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.1519, allocations: 35.58 kB / 0.6027 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1523, allocations: 315.2 kB / 0.603 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1524, allocations: 16.22 kB / 0.603 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1524, allocations: 16 kB / 0.603 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.153, allocations: 306.9 kB / 0.6033 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.153, allocations: 0 / 0.6033 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1531, allocations: 11.98 kB / 0.6033 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1531, allocations: 3.953 kB / 0.6033 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.1537, allocations: 308.9 kB / 0.6036 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.1546, allocations: 0.6756 MB / 0.6043 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.1552, allocations: 250.6 kB / 0.6045 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.1555, allocations: 204.8 kB / 0.6047 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1556, allocations: 3.984 kB / 0.6047 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1556, allocations: 34.56 kB / 0.6047 GB, free: 60 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1556, allocations: 0 / 0.6047 GB, free: 60 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.2894/0.445, allocations: 0.7126 MB / 0.6054 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.4451, allocations: 138.8 kB / 0.6056 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.4455, allocations: 378 kB / 0.6059 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4456, allocations: 28.73 kB / 0.606 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4457, allocations: 172.9 kB / 0.6061 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.4457, allocations: 40.02 kB / 0.6062 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.4458, allocations: 3 kB / 0.6062 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.4458, allocations: 343.9 kB / 0.6065 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.4462, allocations: 253.7 kB / 0.6067 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.4466, allocations: 254.6 kB / 0.607 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.4471, allocations: 425.1 kB / 0.6074 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4471, allocations: 2.688 kB / 0.6074 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009671/0.448, allocations: 0.7646 MB / 0.6081 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.4481, allocations: 181.2 kB / 0.6083 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4482, allocations: 0 / 0.6083 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.4482, allocations: 4.062 kB / 0.6083 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4484, allocations: 35.64 kB / 0.6083 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4484, allocations: 0.9375 kB / 0.6083 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.4486, allocations: 62.52 kB / 0.6084 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4486, allocations: 11.44 kB / 0.6084 GB, free: 39.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0001946/0.4488, allocations: 253.8 kB / 0.6087 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.4489, allocations: 32.66 kB / 0.6087 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.4489, allocations: 32.67 kB / 0.6087 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.449, allocations: 0 / 0.6087 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.449, allocations: 6.688 kB / 0.6087 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.449, allocations: 4.484 kB / 0.6087 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.4493, allocations: 343 kB / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4493, allocations: 3.969 kB / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.4495, allocations: 39.41 kB / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4495, allocations: 0 / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4495, allocations: 8.25 kB / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4495, allocations: 4 kB / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4495, allocations: 0 / 0.6091 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.4503, allocations: 0.6497 MB / 0.6097 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.4504, allocations: 110.6 kB / 0.6099 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.4504, allocations: 14.28 kB / 0.6099 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.4506, allocations: 38.77 kB / 0.6099 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4507, allocations: 32.41 kB / 0.6099 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4508, allocations: 2.969 kB / 0.6099 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002304/0.451, allocations: 275.3 kB / 0.6102 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.451, allocations: 0 / 0.6102 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004128/0.4514, allocations: 104.2 kB / 0.6103 GB, free: 38.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.001129/0.4526, allocations: 1.243 MB / 0.6115 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000961/0.4535, allocations: 0.8715 MB / 0.6124 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4535, allocations: 0 / 0.6124 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.454, allocations: 393.7 kB / 0.6127 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4544, allocations: 69.69 kB / 0.6128 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.4582, allocations: 2.847 MB / 0.6156 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4584, allocations: 0.7818 MB / 0.6163 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.811e-05/0.4585, allocations: 27.97 kB / 0.6164 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4586, allocations: 85.12 kB / 0.6165 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4586, allocations: 0 / 0.6165 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.4773, allocations: 8.209 MB / 0.6245 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.4775, allocations: 224.7 kB / 0.6247 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.504, allocations: 3.562 kB / 0.6247 GB, free: 35.3 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) Environment - environmentSimulation: