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.001265/0.001265, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001425/0.001425, allocations: 223.6 kB / 23.03 MB, free: 4.945 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.623/2.623, allocations: 476.8 MB / 0.7715 GB, free: 3.922 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.001907/0.001907, allocations: 63.98 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003333/0.3057, allocations: 2.04 MB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3075, allocations: 1.137 MB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.3076, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.308, allocations: 107.4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3081, allocations: 59.52 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.3087, allocations: 260.8 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.3091, allocations: 295.3 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3092, allocations: 67.45 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3094, allocations: 111.6 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3095, allocations: 135.4 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.3096, allocations: 32 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.31, allocations: 251.6 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3101, allocations: 91.73 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3102, allocations: 123.4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.3108, allocations: 0.558 MB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3108, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3108, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3109, allocations: 0 / 1.289 GB, free: 5.426 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.001161/0.312, allocations: 0.7524 MB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3121, allocations: 8.031 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.3121, allocations: 4.469 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.3121, allocations: 54.67 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3122, allocations: 36.7 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.3126, allocations: 266.7 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3126, allocations: 12.66 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.3126, allocations: 20.38 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.3133, allocations: 387.7 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3133, allocations: 0 / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3133, allocations: 8 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3133, allocations: 8 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.314, allocations: 353.5 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.3149, allocations: 0.582 MB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.3155, allocations: 307.7 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.316, allocations: 277.9 kB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.316, allocations: 7.938 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.316, allocations: 30.56 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.316, allocations: 0 / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001462/0.3175, allocations: 0.8538 MB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3176, allocations: 140.5 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.318, allocations: 376.5 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3181, allocations: 29.7 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3182, allocations: 168.4 kB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.3182, allocations: 47.58 kB / 1.294 GB, free: 404 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.3183, allocations: 45.7 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3185, allocations: 346.9 kB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/0.3191, allocations: 422.1 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3196, allocations: 422 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.3206, allocations: 0.6978 MB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3206, allocations: 0 / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00123/0.3218, allocations: 0.9192 MB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.322, allocations: 186.2 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.322, allocations: 0 / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.322, allocations: 4 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3222, allocations: 31.91 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3222, allocations: 0 / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3224, allocations: 47.78 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.3224, allocations: 8 kB / 1.297 GB, free: 13.04 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.0002346/0.3226, allocations: 258.8 kB / 1.297 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.3227, allocations: 35.8 kB / 1.297 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.3227, allocations: 34.81 kB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3228, allocations: 7.938 kB / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3228, allocations: 0 / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3228, allocations: 0 / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.3231, allocations: 276.5 kB / 1.297 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3231, allocations: 0 / 1.297 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3233, allocations: 31.91 kB / 1.297 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3233, allocations: 0 / 1.297 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.3233, allocations: 8 kB / 1.297 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3233, allocations: 3.984 kB / 1.297 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3233, allocations: 4 kB / 1.297 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3243, allocations: 0.7137 MB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3244, allocations: 31.75 kB / 1.298 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3244, allocations: 4 kB / 1.298 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3246, allocations: 35.95 kB / 1.298 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3248, allocations: 31.97 kB / 1.298 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3248, allocations: 4 kB / 1.298 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002997/0.3251, allocations: 275 kB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3251, allocations: 0 / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004079/0.3255, allocations: 107.8 kB / 1.299 GB, free: 11.06 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.001508/0.327, allocations: 1.312 MB / 1.3 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.3283, allocations: 1.081 MB / 1.301 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3283, allocations: 0 / 1.301 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.3288, allocations: 455.2 kB / 1.301 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3293, allocations: 69.34 kB / 1.301 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0064/0.3357, allocations: 5.295 MB / 1.307 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3359, allocations: 178.1 kB / 1.307 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.582e-05/0.3359, allocations: 21.94 kB / 1.307 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3361, allocations: 91.41 kB / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3361, allocations: 0 / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3674, allocations: 9.344 MB / 1.316 GB, free: 8.988 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.6, allocations: 15.98 kB / 1.316 GB, free: 8.973 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.71196135506034] Failed to read output from testmodel.py, exit status != 0: 12.21089051105082 11.777082337 11.463364285 Calling exit ...