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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001024/0.001024, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001125/0.001125, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.842/0.842, allocations: 143 MB / 433.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 59.91 kB / 0.5138 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1209, allocations: 82.04 MB / 0.5939 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002619/0.1235, allocations: 2.134 MB / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1248, allocations: 1.15 MB / 0.5971 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.1249, allocations: 4 kB / 0.5971 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1252, allocations: 103.5 kB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.1253, allocations: 39.69 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1259, allocations: 231.9 kB / 0.5975 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1261, allocations: 323.3 kB / 0.5978 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1263, allocations: 90.98 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.1264, allocations: 111.6 kB / 0.598 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1265, allocations: 123.5 kB / 0.5981 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.1265, allocations: 35.94 kB / 0.5981 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1268, allocations: 227.7 kB / 0.5984 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.1269, allocations: 87.73 kB / 0.5984 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.127, allocations: 159.1 kB / 0.5986 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.1274, allocations: 0.5609 MB / 0.5991 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1275, allocations: 0 / 0.5991 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1275, allocations: 0 / 0.5991 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1275, allocations: 0 / 0.5991 GB, free: 4.488 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.00088/0.1284, allocations: 0.8126 MB / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1284, allocations: 8.625 kB / 0.5999 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1284, allocations: 54.67 kB / 0.6 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1285, allocations: 32.56 kB / 0.6 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1288, allocations: 324.3 kB / 0.6003 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1288, allocations: 12.66 kB / 0.6003 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1289, allocations: 16.38 kB / 0.6004 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1294, allocations: 303 kB / 0.6007 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1294, allocations: 0 / 0.6007 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1294, allocations: 8 kB / 0.6007 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1294, allocations: 4 kB / 0.6007 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.13, allocations: 272.7 kB / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.1308, allocations: 0.6719 MB / 0.6016 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.1312, allocations: 222.6 kB / 0.6018 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.1316, allocations: 195.5 kB / 0.602 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1316, allocations: 4 kB / 0.602 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1316, allocations: 34.5 kB / 0.602 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1316, allocations: 0 / 0.602 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001101/0.1327, allocations: 0.6699 MB / 0.6027 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1328, allocations: 140.5 kB / 0.6028 GB, free: 488 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.1331, allocations: 384.4 kB / 0.6032 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1331, allocations: 29.7 kB / 0.6032 GB, free: 60 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2016/0.3347, allocations: 161.3 kB / 0.6034 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3348, allocations: 43.2 kB / 0.6034 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.3349, allocations: 47.56 kB / 0.6034 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.335, allocations: 345.1 kB / 0.6038 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.3353, allocations: 241.9 kB / 0.604 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.3357, allocations: 233.2 kB / 0.6042 GB, free: 43.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.3363, allocations: 0.6844 MB / 0.6049 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3363, allocations: 0 / 0.6049 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007903/0.3371, allocations: 0.7344 MB / 0.6056 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.3372, allocations: 182.1 kB / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3372, allocations: 0 / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3372, allocations: 0 / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3374, allocations: 34.16 kB / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3374, allocations: 1.188 kB / 0.6058 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3376, allocations: 43.84 kB / 0.6059 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3376, allocations: 12.19 kB / 0.6059 GB, free: 43.25 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3377, allocations: 257 kB / 0.6061 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.3378, allocations: 34.98 kB / 0.6061 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.3378, allocations: 30.2 kB / 0.6062 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3378, allocations: 6.688 kB / 0.6062 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3378, allocations: 6.031 kB / 0.6062 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3378, allocations: 0.7656 kB / 0.6062 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3381, allocations: 345.8 kB / 0.6065 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3381, allocations: 0.8438 kB / 0.6065 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.3382, allocations: 27.45 kB / 0.6065 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3382, allocations: 0 / 0.6065 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3382, allocations: 6.375 kB / 0.6066 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3383, allocations: 3.938 kB / 0.6066 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3383, allocations: 2.078 kB / 0.6066 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.339, allocations: 0.6197 MB / 0.6072 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.339, allocations: 114 kB / 0.6073 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.3391, allocations: 7.219 kB / 0.6073 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3393, allocations: 29.48 kB / 0.6073 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.3393, allocations: 32.41 kB / 0.6073 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3394, allocations: 9.312 kB / 0.6073 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001969/0.3396, allocations: 270.5 kB / 0.6076 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 2.531 kB / 0.6076 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000339/0.3399, allocations: 104.3 kB / 0.6077 GB, free: 42.38 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 (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.0009454/0.3409, allocations: 1.217 MB / 0.6089 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.3417, allocations: 0.8325 MB / 0.6097 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3417, allocations: 0 / 0.6097 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.342, allocations: 385 kB / 0.6101 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3424, allocations: 73.78 kB / 0.6101 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.3464, allocations: 4.49 MB / 0.6145 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3466, allocations: 0.7893 MB / 0.6153 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.835e-05/0.3467, allocations: 24.25 kB / 0.6153 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.3468, allocations: 90.31 kB / 0.6154 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3468, allocations: 0 / 0.6154 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.562/4.908, allocations: 8.32 MB / 0.6235 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/4.909, allocations: 250.7 kB / 0.6238 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/6.712, allocations: 0 / 0.6238 GB, free: 37.17 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/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)