Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001745/0.001745, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002116/0.002116, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_12_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.001919/0.001919, allocations: 62.06 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3408, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003627/0.3444, allocations: 2.042 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3464, allocations: 1.141 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3465, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.347, allocations: 115.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3471, allocations: 43.59 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.3478, allocations: 267.4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.3482, allocations: 307.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3484, allocations: 67.47 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3485, allocations: 103.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3487, allocations: 135.4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.3487, allocations: 28 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3491, allocations: 247.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3492, allocations: 95.67 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3494, allocations: 119.4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.35, allocations: 0.5566 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3501, allocations: 8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3501, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3501, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 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.001232/0.3513, allocations: 0.7486 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3513, allocations: 8.031 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.121e-05/0.3514, allocations: 4.469 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.3514, allocations: 50.73 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.3515, allocations: 36.75 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3519, allocations: 262.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3519, allocations: 12.66 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.352, allocations: 16.38 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.3526, allocations: 387.9 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3526, allocations: 3.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3527, allocations: 8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3527, allocations: 7.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.3534, allocations: 357.5 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.3543, allocations: 0.5739 MB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.3549, allocations: 319.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.3553, allocations: 273.8 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3553, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3554, allocations: 34.56 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3554, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001457/0.3568, allocations: 0.8521 MB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.3569, allocations: 132.5 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.3573, allocations: 380.5 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3574, allocations: 37.7 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3575, allocations: 164.4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.3575, allocations: 47.59 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.3576, allocations: 49.7 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3578, allocations: 346.8 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.3583, allocations: 418 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.3589, allocations: 426 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.3599, allocations: 0.6991 MB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3599, allocations: 0 / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001239/0.3611, allocations: 0.9194 MB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.3612, allocations: 182.2 kB / 1.339 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.3613, allocations: 112 / 1.339 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3613, allocations: 11.92 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3614, allocations: 27.97 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3614, allocations: 0 / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3617, allocations: 51.8 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.3617, allocations: 11.98 kB / 1.339 GB, free: 3.805 MB / 1.029 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.0002433/0.3619, allocations: 259.5 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.362, allocations: 35.77 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.3621, allocations: 26.88 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3621, allocations: 0 / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3621, allocations: 4 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3621, allocations: 3.984 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.3624, allocations: 268.5 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3624, allocations: 4 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3626, allocations: 27.97 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3626, allocations: 4 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3626, allocations: 0 / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3626, allocations: 4 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3626, allocations: 0 / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3637, allocations: 0.717 MB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.3637, allocations: 47.67 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.3638, allocations: 4 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.364, allocations: 27.97 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3641, allocations: 23.97 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3641, allocations: 7.984 kB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002977/0.3644, allocations: 271 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3644, allocations: 4 kB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004375/0.3648, allocations: 111.8 kB / 1.341 GB, free: 1.848 MB / 1.029 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.00155/0.3664, allocations: 1.305 MB / 1.342 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.3678, allocations: 1.086 MB / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3678, allocations: 0 / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.3683, allocations: 463 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3688, allocations: 69.39 kB / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.3755, allocations: 5.315 MB / 1.349 GB, free: 9.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.3757, allocations: 174.1 kB / 1.349 GB, free: 8.898 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.956e-05/0.3758, allocations: 25.95 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3759, allocations: 91.41 kB / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of SimCode: time 1.122e-06/0.3759, allocations: 0 / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.4093, allocations: 9.343 MB / 1.359 GB, free: 15.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 9.734 kB / 1.359 GB, free: 15.73 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.934789147926494] Failed to read output from testmodel.py, exit status != 0: 12.504335317993537 12.5273407 12.173312304 Calling exit ...