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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 101.9 kB / 19.73 MB, free: 2.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 222.5 kB / 23.03 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8779/0.8779, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 75.02 kB / 0.6339 GB, free: 6.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 87.89 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003433/0.1639, allocations: 2.022 MB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1657, allocations: 1.13 MB / 0.7228 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.1658, allocations: 4 kB / 0.7228 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.1662, allocations: 111.4 kB / 0.7229 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1663, allocations: 51.58 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.167, allocations: 267.4 kB / 0.7232 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.1673, allocations: 295.3 kB / 0.7235 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1675, allocations: 83.12 kB / 0.7236 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1676, allocations: 103.7 kB / 0.7237 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1678, allocations: 135.4 kB / 0.7238 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.1678, allocations: 28 kB / 0.7238 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.1682, allocations: 243.7 kB / 0.724 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1683, allocations: 99.67 kB / 0.7241 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1685, allocations: 123.4 kB / 0.7243 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.1691, allocations: 0.5838 MB / 0.7248 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1691, allocations: 0 / 0.7248 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1691, allocations: 0 / 0.7248 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1691, allocations: 0 / 0.7248 GB, free: 9.559 MB / 0.545 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.001151/0.1703, allocations: 0.7369 MB / 0.7255 GB, free: 8.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1703, allocations: 12.03 kB / 0.7256 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.731e-05/0.1703, allocations: 4.469 kB / 0.7256 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.1704, allocations: 54.73 kB / 0.7256 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.1705, allocations: 36.7 kB / 0.7257 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1708, allocations: 262.8 kB / 0.7259 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1709, allocations: 12.66 kB / 0.7259 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.1709, allocations: 20.38 kB / 0.7259 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.1715, allocations: 376 kB / 0.7263 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1716, allocations: 11.88 kB / 0.7263 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1716, allocations: 8 kB / 0.7263 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1716, allocations: 4 kB / 0.7263 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.1723, allocations: 366 kB / 0.7267 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.1732, allocations: 0.5811 MB / 0.7272 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.1738, allocations: 311.7 kB / 0.7275 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.1742, allocations: 269.8 kB / 0.7278 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1742, allocations: 15.97 kB / 0.7278 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1742, allocations: 34.56 kB / 0.7278 GB, free: 6.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1742, allocations: 0 / 0.7278 GB, free: 6.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001419/0.1757, allocations: 0.8468 MB / 0.7287 GB, free: 5.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.1758, allocations: 136.5 kB / 0.7288 GB, free: 5.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.1762, allocations: 384.4 kB / 0.7292 GB, free: 4.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1762, allocations: 29.7 kB / 0.7292 GB, free: 4.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1763, allocations: 168.4 kB / 0.7293 GB, free: 4.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1764, allocations: 47.62 kB / 0.7294 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.1765, allocations: 49.7 kB / 0.7294 GB, free: 4.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1766, allocations: 342.8 kB / 0.7298 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.1772, allocations: 426 kB / 0.7302 GB, free: 3.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.1777, allocations: 426 kB / 0.7306 GB, free: 3.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009663/0.1787, allocations: 0.6862 MB / 0.7313 GB, free: 2.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1787, allocations: 11.88 kB / 0.7313 GB, free: 2.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001256/0.1799, allocations: 0.9194 MB / 0.7322 GB, free: 1.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1801, allocations: 182.2 kB / 0.7323 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1801, allocations: 4 kB / 0.7323 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1801, allocations: 0 / 0.7323 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1803, allocations: 31.97 kB / 0.7324 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1803, allocations: 0 / 0.7324 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1805, allocations: 43.75 kB / 0.7324 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1805, allocations: 12 kB / 0.7324 GB, free: 1.176 MB / 0.545 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.0002808/0.1808, allocations: 258.8 kB / 0.7327 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1809, allocations: 31.81 kB / 0.7327 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1809, allocations: 30.88 kB / 0.7327 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1809, allocations: 4 kB / 0.7327 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1809, allocations: 4 kB / 0.7327 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1809, allocations: 0 / 0.7327 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.1812, allocations: 272.5 kB / 0.733 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1812, allocations: 4 kB / 0.733 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1814, allocations: 27.97 kB / 0.733 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1814, allocations: 4 kB / 0.733 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1814, allocations: 4 kB / 0.733 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1814, allocations: 0 / 0.733 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1814, allocations: 0 / 0.733 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1825, allocations: 0.7121 MB / 0.7337 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1825, allocations: 39.73 kB / 0.7338 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.1826, allocations: 11.94 kB / 0.7338 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1828, allocations: 23.97 kB / 0.7338 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1829, allocations: 27.97 kB / 0.7338 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1829, allocations: 15.94 kB / 0.7338 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002799/0.1832, allocations: 271 kB / 0.7341 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1832, allocations: 0 / 0.7341 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004171/0.1836, allocations: 107.8 kB / 0.7342 GB, free: 15.22 MB / 0.5606 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.001469/0.1851, allocations: 1.308 MB / 0.7355 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.1864, allocations: 1.084 MB / 0.7365 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1864, allocations: 0 / 0.7365 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.187, allocations: 463.1 kB / 0.737 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.1874, allocations: 61.95 kB / 0.737 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.1937, allocations: 5.305 MB / 0.7422 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1939, allocations: 186.1 kB / 0.7424 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.808e-05/0.194, allocations: 17.95 kB / 0.7424 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1942, allocations: 91.41 kB / 0.7425 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.1942, allocations: 0 / 0.7425 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3258/0.52, allocations: 9.36 MB / 0.7516 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.05, allocations: 7.625 kB / 0.7517 GB, free: 31.25 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.509109459933825] Failed to read output from testmodel.py, exit status != 0: 12.210892044007778 12.22608279 12.054114212 Calling exit ...