Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001563/0.001563, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001642/0.001642, allocations: 215 kB / 20.13 MB, free: 2.949 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.805/2.805, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001865/0.001865, allocations: 67.89 kB / 1.165 GB, free: 428 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9291, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003075/0.9322, allocations: 2.129 MB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.9339, allocations: 1.222 MB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.934, allocations: 2.844 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.9344, allocations: 116.1 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.9345, allocations: 46.02 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.9353, allocations: 265.2 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.9356, allocations: 302.2 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.9358, allocations: 71.41 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.9359, allocations: 109.7 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.936, allocations: 127.2 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.9361, allocations: 30.25 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.9365, allocations: 231.3 kB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.9366, allocations: 94.42 kB / 1.345 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.9367, allocations: 153 kB / 1.345 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.9374, allocations: 0.5574 MB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9374, allocations: 0.5625 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9374, allocations: 1.438 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9374, allocations: 0 / 1.345 GB, free: 13.04 MB / 1.061 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.001068/0.9385, allocations: 0.8233 MB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.9385, allocations: 9.25 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.623e-05/0.9385, allocations: 4.531 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.9386, allocations: 48.47 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.9386, allocations: 38.92 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.939, allocations: 324.4 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.939, allocations: 16.19 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.939, allocations: 16.77 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.9396, allocations: 301.1 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9396, allocations: 0 / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.9396, allocations: 7.312 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9396, allocations: 3.25 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.9403, allocations: 273.8 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.9412, allocations: 0.6691 MB / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.9417, allocations: 221.1 kB / 1.348 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.9421, allocations: 189.5 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.9421, allocations: 1.125 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.9421, allocations: 33.27 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.9421, allocations: 7.938 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001322/0.9434, allocations: 0.6705 MB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.9435, allocations: 139.3 kB / 1.349 GB, free: 10.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.9438, allocations: 384.9 kB / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.9439, allocations: 28.48 kB / 1.35 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.9439, allocations: 170.2 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.944, allocations: 49.08 kB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.9441, allocations: 51.67 kB / 1.35 GB, free: 10.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.9441, allocations: 340 kB / 1.35 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.9446, allocations: 242.6 kB / 1.35 GB, free: 9.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.945, allocations: 235.9 kB / 1.351 GB, free: 9.773 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.9459, allocations: 0.6831 MB / 1.351 GB, free: 9.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9459, allocations: 0 / 1.351 GB, free: 9.348 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001119/0.947, allocations: 0.7259 MB / 1.352 GB, free: 8.973 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.9471, allocations: 185.3 kB / 1.352 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9471, allocations: 0 / 1.352 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.9471, allocations: 1.094 kB / 1.352 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.9473, allocations: 31.78 kB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9473, allocations: 1.453 kB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.9475, allocations: 49.25 kB / 1.352 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.9475, allocations: 12.16 kB / 1.352 GB, free: 8.75 MB / 1.061 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.0001776/0.9477, allocations: 257.1 kB / 1.352 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.9478, allocations: 32.16 kB / 1.352 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.9478, allocations: 32.34 kB / 1.353 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.9478, allocations: 0.8438 kB / 1.353 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9478, allocations: 1.094 kB / 1.353 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9478, allocations: 4.641 kB / 1.353 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.9482, allocations: 345.9 kB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.9482, allocations: 0.7969 kB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.9483, allocations: 27.66 kB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9483, allocations: 1.828 kB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.9483, allocations: 7.562 kB / 1.353 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9483, allocations: 6 kB / 1.353 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9483, allocations: 0 / 1.353 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.9493, allocations: 0.6237 MB / 1.353 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.9493, allocations: 120.3 kB / 1.354 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.9494, allocations: 4.375 kB / 1.354 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.9496, allocations: 28.78 kB / 1.354 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.9497, allocations: 29 kB / 1.354 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.9497, allocations: 10.17 kB / 1.354 GB, free: 7.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002699/0.95, allocations: 271.4 kB / 1.354 GB, free: 7.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.95, allocations: 0 / 1.354 GB, free: 7.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004876/0.9505, allocations: 107.2 kB / 1.354 GB, free: 7.547 MB / 1.061 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.00129/0.9518, allocations: 1.223 MB / 1.355 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.9528, allocations: 0.8091 MB / 1.356 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9528, allocations: 0 / 1.356 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.9533, allocations: 369.3 kB / 1.356 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.9537, allocations: 66.92 kB / 1.356 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.9591, allocations: 4.445 MB / 1.361 GB, free: 3.453 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.9593, allocations: 0.7788 MB / 1.362 GB, free: 2.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.9595, allocations: 24.44 kB / 1.362 GB, free: 2.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.9596, allocations: 91.2 kB / 1.362 GB, free: 2.672 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/0.9596, allocations: 0 / 1.362 GB, free: 2.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.9876, allocations: 8.786 MB / 1.37 GB, free: 1.867 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/9.377, allocations: 18.73 kB / 1.37 GB, free: 1.852 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.539258301025257] Failed to read output from testmodel.py, exit status != 0: 9.504447537008673 9.529455203 8.587540147 Calling exit ...