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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001113/0.001113, allocations: 190.1 kB / 16.14 MB, free: 6.688 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.8704/0.8704, allocations: 143 MB / 433 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1284, allocations: 82.04 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002895/0.1313, allocations: 2.138 MB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1329, allocations: 1.212 MB / 0.597 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.133, allocations: 8 kB / 0.597 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1333, allocations: 95.53 kB / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.1334, allocations: 35.72 kB / 0.5971 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1339, allocations: 205.7 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1341, allocations: 271.2 kB / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1343, allocations: 95.25 kB / 0.5977 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.1343, allocations: 91.69 kB / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1345, allocations: 119.5 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1345, allocations: 12 kB / 0.5979 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.1348, allocations: 211.7 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.1349, allocations: 83.73 kB / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.135, allocations: 135.1 kB / 0.5983 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1355, allocations: 0.5414 MB / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1355, allocations: 0 / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1355, allocations: 0 / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1355, allocations: 0 / 0.5988 GB, free: 4.727 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.0009638/0.1365, allocations: 0.8165 MB / 0.5996 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1365, allocations: 8.031 kB / 0.5996 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1365, allocations: 50.73 kB / 0.5997 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1366, allocations: 32.56 kB / 0.5997 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1369, allocations: 316.4 kB / 0.6 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.137, allocations: 12.66 kB / 0.6 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.137, allocations: 16.38 kB / 0.6001 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.1375, allocations: 299.6 kB / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1376, allocations: 3.938 kB / 0.6003 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1376, allocations: 8 kB / 0.6004 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1376, allocations: 4 kB / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.1382, allocations: 276.1 kB / 0.6006 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.139, allocations: 0.6718 MB / 0.6013 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.1395, allocations: 226.6 kB / 0.6015 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1399, allocations: 192.7 kB / 0.6017 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1399, allocations: 4 kB / 0.6017 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1399, allocations: 34.55 kB / 0.6017 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1399, allocations: 0 / 0.6017 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001209/0.1411, allocations: 0.6779 MB / 0.6024 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.1412, allocations: 136.5 kB / 0.6025 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.1416, allocations: 384.4 kB / 0.6029 GB, free: 336 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1416, allocations: 29.7 kB / 0.6029 GB, free: 300 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1417, allocations: 176.3 kB / 0.6031 GB, free: 120 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1417, allocations: 35.45 kB / 0.6031 GB, free: 84 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.1418, allocations: 49.7 kB / 0.6031 GB, free: 28 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.1857/0.3275, allocations: 341.9 kB / 0.6035 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.328, allocations: 233.5 kB / 0.6037 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.3283, allocations: 245.2 kB / 0.6039 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.329, allocations: 0.6752 MB / 0.6046 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3291, allocations: 3.125 kB / 0.6046 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008436/0.3299, allocations: 0.7263 MB / 0.6053 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.33, allocations: 183.9 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.33, allocations: 0 / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.33, allocations: 1.594 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3302, allocations: 29.62 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3302, allocations: 5.062 kB / 0.6055 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3304, allocations: 53.38 kB / 0.6056 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.3304, allocations: 5.156 kB / 0.6056 GB, free: 43.27 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.0001477/0.3306, allocations: 258.3 kB / 0.6058 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.3306, allocations: 26.53 kB / 0.6058 GB, free: 43.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3307, allocations: 34.55 kB / 0.6059 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3307, allocations: 0 / 0.6059 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3307, allocations: 4.625 kB / 0.6059 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3307, allocations: 0 / 0.6059 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3309, allocations: 348.1 kB / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3309, allocations: 1.703 kB / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3311, allocations: 34.55 kB / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3311, allocations: 0 / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3311, allocations: 5.266 kB / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3311, allocations: 1.125 kB / 0.6062 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3311, allocations: 8.406 kB / 0.6063 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/0.3318, allocations: 0.6132 MB / 0.6069 GB, free: 42.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3319, allocations: 114.1 kB / 0.607 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3319, allocations: 5.469 kB / 0.607 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3321, allocations: 36.3 kB / 0.607 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.3322, allocations: 35.98 kB / 0.607 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3323, allocations: 5.688 kB / 0.607 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001938/0.3325, allocations: 272.2 kB / 0.6073 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3325, allocations: 0 / 0.6073 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003564/0.3328, allocations: 100.9 kB / 0.6074 GB, free: 42.46 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.001023/0.3339, allocations: 1.217 MB / 0.6086 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008035/0.3347, allocations: 0.8355 MB / 0.6094 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3347, allocations: 1.75 kB / 0.6094 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.335, allocations: 377.4 kB / 0.6098 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3354, allocations: 66.34 kB / 0.6098 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.3396, allocations: 4.489 MB / 0.6142 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3397, allocations: 0.7882 MB / 0.615 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.422e-05/0.3398, allocations: 25.11 kB / 0.615 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.3399, allocations: 86.72 kB / 0.6151 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3399, allocations: 3 kB / 0.6151 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.355, allocations: 8.076 MB / 0.623 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.3552, allocations: 248 kB / 0.6232 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.007, allocations: 0 / 0.6232 GB, free: 37.38 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)