Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00146/0.00146, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00165/0.00165, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.561/2.561, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_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.001895/0.001895, allocations: 63.03 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.286, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00353/0.2896, allocations: 2.148 MB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2915, allocations: 1.227 MB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.2915, allocations: 4 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.2919, allocations: 110.9 kB / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.292, allocations: 51.58 kB / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.2927, allocations: 274.3 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.293, allocations: 291.3 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2932, allocations: 63.47 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2933, allocations: 115.6 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2935, allocations: 131.4 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.2935, allocations: 36 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.2939, allocations: 255.7 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.294, allocations: 91.69 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2942, allocations: 147.2 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.2948, allocations: 0.5605 MB / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2948, allocations: 0 / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2948, allocations: 0 / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2948, allocations: 4 kB / 1.29 GB, free: 6.242 MB / 0.9825 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.001107/0.2959, allocations: 0.7408 MB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.296, allocations: 16.02 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.296, allocations: 4.469 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.296, allocations: 42.75 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.2961, allocations: 48.67 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.2965, allocations: 270.7 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2965, allocations: 12.66 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.2965, allocations: 20.38 kB / 1.291 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.2971, allocations: 298.6 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2971, allocations: 0 / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2971, allocations: 4 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2972, allocations: 4 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.2978, allocations: 272.4 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.2987, allocations: 0.6365 MB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.2993, allocations: 222.6 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.2996, allocations: 184.7 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.2997, allocations: 3.984 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2997, allocations: 46.56 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.2997, allocations: 0 / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001356/0.301, allocations: 0.6703 MB / 1.293 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.3011, allocations: 136.5 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.3015, allocations: 376.5 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3016, allocations: 29.7 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3017, allocations: 160.4 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.3018, allocations: 51.58 kB / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.3018, allocations: 49.7 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.302, allocations: 346.7 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.3024, allocations: 239.8 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.3029, allocations: 243.8 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.3038, allocations: 0.6862 MB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3038, allocations: 0 / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001125/0.305, allocations: 0.7298 MB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.3051, allocations: 182.2 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3051, allocations: 4 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3051, allocations: 0 / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3053, allocations: 35.91 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3053, allocations: 0 / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3055, allocations: 39.84 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3055, allocations: 8 kB / 1.296 GB, free: 15.1 MB / 0.9981 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.0002377/0.3057, allocations: 258.9 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3058, allocations: 31.81 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.3058, allocations: 30.88 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3058, allocations: 4 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3058, allocations: 0 / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3058, allocations: 3.984 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3062, allocations: 316.3 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3062, allocations: 4 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3064, allocations: 31.91 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3064, allocations: 4 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3064, allocations: 15.86 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3064, allocations: 0 / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3064, allocations: 0 / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.3074, allocations: 0.6208 MB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.3074, allocations: 31.81 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3075, allocations: 11.98 kB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3077, allocations: 23.97 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3078, allocations: 23.97 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3078, allocations: 8 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002902/0.3081, allocations: 279 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3081, allocations: 0 / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000388/0.3085, allocations: 103.8 kB / 1.298 GB, free: 13.21 MB / 0.9981 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.00148/0.3099, allocations: 1.221 MB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.3111, allocations: 0.8086 MB / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3111, allocations: 0 / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.3116, allocations: 370.1 kB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3121, allocations: 81.8 kB / 1.3 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.3181, allocations: 4.428 MB / 1.305 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3185, allocations: 0.787 MB / 1.305 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.373e-05/0.3186, allocations: 17.95 kB / 1.305 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3188, allocations: 91.41 kB / 1.305 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of SimCode: time 6.12e-07/0.3188, allocations: 0 / 1.305 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.351, allocations: 8.928 MB / 1.314 GB, free: 12.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.4, allocations: 10.8 kB / 1.314 GB, free: 12.43 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.425929925986566] Failed to read output from testmodel.py, exit status != 0: 12.013469358033035 11.598452511 11.298682821 Calling exit ...