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.0008221/0.0008221, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004717/0.004717, allocations: 170 kB / 16.26 MB, free: 6.613 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.8769/0.8769, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 0.5165 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 83.41 MB / 0.598 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001906/0.1265, allocations: 1.776 MB / 0.5997 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1281, allocations: 1.193 MB / 0.6009 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.1282, allocations: 4 kB / 0.6009 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1285, allocations: 99.53 kB / 0.601 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.596e-05/0.1286, allocations: 39.7 kB / 0.601 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1291, allocations: 211.6 kB / 0.6012 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1293, allocations: 263.3 kB / 0.6015 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1294, allocations: 95.27 kB / 0.6016 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.1295, allocations: 75.64 kB / 0.6016 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1297, allocations: 103.5 kB / 0.6017 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1297, allocations: 8 kB / 0.6017 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.13, allocations: 203.7 kB / 0.6019 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.13, allocations: 83.73 kB / 0.602 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1302, allocations: 140.9 kB / 0.6021 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.1306, allocations: 0.5412 MB / 0.6027 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1306, allocations: 0 / 0.6027 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1306, allocations: 0 / 0.6027 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1306, allocations: 0 / 0.6027 GB, free: 2.691 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.0008888/0.1315, allocations: 0.7726 MB / 0.6034 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1316, allocations: 8.031 kB / 0.6034 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1316, allocations: 50.73 kB / 0.6035 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.1317, allocations: 32.56 kB / 0.6035 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.132, allocations: 324.4 kB / 0.6038 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.132, allocations: 16.66 kB / 0.6038 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.132, allocations: 16.38 kB / 0.6039 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.1326, allocations: 319.5 kB / 0.6042 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1326, allocations: 0 / 0.6042 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1326, allocations: 8 kB / 0.6042 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1327, allocations: 4 kB / 0.6042 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.1333, allocations: 300.1 kB / 0.6045 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2038/0.3371, allocations: 0.6859 MB / 0.6051 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.3377, allocations: 242.3 kB / 0.6054 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.3381, allocations: 206.7 kB / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3382, allocations: 2.531 kB / 0.6056 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3382, allocations: 35.06 kB / 0.6056 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.3382, allocations: 3.844 kB / 0.6056 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001191/0.3394, allocations: 0.7195 MB / 0.6063 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3394, allocations: 134.4 kB / 0.6064 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.3398, allocations: 383.3 kB / 0.6068 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3398, allocations: 28.64 kB / 0.6068 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3399, allocations: 167.1 kB / 0.607 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3399, allocations: 39.95 kB / 0.607 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.34, allocations: 34.53 kB / 0.6071 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.34, allocations: 344 kB / 0.6074 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3404, allocations: 251.7 kB / 0.6076 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.3408, allocations: 256.1 kB / 0.6079 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.3415, allocations: 0.7173 MB / 0.6086 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3415, allocations: 0 / 0.6086 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008933/0.3424, allocations: 0.7648 MB / 0.6093 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/0.3425, allocations: 183.4 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3426, allocations: 1.312 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3426, allocations: 3.75 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3427, allocations: 34.17 kB / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3427, allocations: 0 / 0.6095 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.343, allocations: 63.16 kB / 0.6096 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.343, allocations: 8.625 kB / 0.6096 GB, free: 38.75 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.000147/0.3431, allocations: 260.6 kB / 0.6098 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.3432, allocations: 33.25 kB / 0.6099 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.3432, allocations: 28.91 kB / 0.6099 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3432, allocations: 2.906 kB / 0.6099 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3433, allocations: 0.5 kB / 0.6099 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3433, allocations: 0 / 0.6099 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3435, allocations: 354.4 kB / 0.6102 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3435, allocations: 3.344 kB / 0.6102 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.3437, allocations: 35.27 kB / 0.6103 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3437, allocations: 0 / 0.6103 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3437, allocations: 7.266 kB / 0.6103 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3437, allocations: 0.625 kB / 0.6103 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3437, allocations: 4.75 kB / 0.6103 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.3445, allocations: 0.6556 MB / 0.6109 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.3446, allocations: 111.2 kB / 0.611 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3446, allocations: 7.094 kB / 0.611 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3449, allocations: 44.66 kB / 0.6111 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.3449, allocations: 25.78 kB / 0.6111 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.345, allocations: 5.688 kB / 0.6111 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000211/0.3452, allocations: 281.5 kB / 0.6114 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 0.6114 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003665/0.3456, allocations: 101.6 kB / 0.6115 GB, free: 37.87 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.001137/0.3467, allocations: 1.251 MB / 0.6127 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008931/0.3476, allocations: 0.8623 MB / 0.6135 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3476, allocations: 3.844 kB / 0.6135 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.348, allocations: 391.7 kB / 0.6139 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3484, allocations: 73.11 kB / 0.614 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.3532, allocations: 4.584 MB / 0.6185 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.3534, allocations: 0.785 MB / 0.6192 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.977e-05/0.3535, allocations: 19.94 kB / 0.6193 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.3536, allocations: 88.98 kB / 0.6193 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.3536, allocations: 4 kB / 0.6193 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.241/4.595, allocations: 7.983 MB / 0.6271 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/4.595, allocations: 246.3 kB / 0.6274 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/7.039, allocations: 0 / 0.6274 GB, free: 33.52 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)