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.00148/0.00148, 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.001794/0.001794, allocations: 208.7 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.043 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 3.213/3.213, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 MB / 0.6231 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.001973/0.001973, allocations: 68.09 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4196, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003854/0.4234, allocations: 2.143 MB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.4255, allocations: 1.223 MB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.4256, allocations: 4 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.426, allocations: 119.5 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.4261, allocations: 47.58 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.4269, allocations: 265.4 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.4272, allocations: 303.3 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.4274, allocations: 71.2 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4275, allocations: 115.6 kB / 1.35 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.4277, allocations: 127.5 kB / 1.35 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.4278, allocations: 28 kB / 1.35 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.4282, allocations: 259.7 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4283, allocations: 87.69 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.4285, allocations: 151.2 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.4291, allocations: 0.5644 MB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4291, allocations: 0 / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4291, allocations: 0 / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4291, allocations: 0 / 1.351 GB, free: 10.98 MB / 1.045 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.001224/0.4303, allocations: 0.7447 MB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4304, allocations: 15.97 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.05e-05/0.4304, allocations: 4.469 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.4305, allocations: 46.73 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.4305, allocations: 32.75 kB / 1.352 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4309, allocations: 270.7 kB / 1.352 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.431, allocations: 24.2 kB / 1.352 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.431, allocations: 16 kB / 1.352 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.4316, allocations: 290.9 kB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4316, allocations: 4 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4317, allocations: 4 kB / 1.352 GB, free: 9.434 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4317, allocations: 4 kB / 1.352 GB, free: 9.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.4324, allocations: 272.3 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.4334, allocations: 0.6288 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.434, allocations: 230.6 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.4344, allocations: 180.7 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4344, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4344, allocations: 42.56 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4344, allocations: 3.938 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.001473/0.4359, allocations: 0.6677 MB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.436, allocations: 144.5 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.4365, allocations: 376.6 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.4366, allocations: 37.64 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.4367, allocations: 168.3 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.4368, allocations: 43.66 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4369, allocations: 45.7 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4371, allocations: 342.8 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.4375, allocations: 235.9 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.438, allocations: 239.8 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.439, allocations: 0.6835 MB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.439, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001221/0.4402, allocations: 0.7284 MB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.4404, allocations: 184.1 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4404, allocations: 4 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4404, allocations: 4 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4406, allocations: 27.97 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4406, allocations: 4 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.4408, allocations: 51.67 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4409, allocations: 12 kB / 1.357 GB, free: 3.836 MB / 1.045 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.0003038/0.4412, allocations: 254.9 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.4412, allocations: 35.8 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.4413, allocations: 26.89 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4413, allocations: 3.984 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4413, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.4413, allocations: 7.938 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.4418, allocations: 312.4 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4418, allocations: 0 / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.4419, allocations: 27.97 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4419, allocations: 7.984 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.4419, allocations: 4 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4419, allocations: 4 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4419, allocations: 0 / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.4431, allocations: 0.6282 MB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.4431, allocations: 39.69 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.4432, allocations: 8 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4434, allocations: 23.97 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4435, allocations: 31.91 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.4435, allocations: 11.94 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003279/0.4439, allocations: 275 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4439, allocations: 4 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004324/0.4443, allocations: 103.8 kB / 1.359 GB, free: 1.945 MB / 1.045 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.001599/0.4459, allocations: 1.209 MB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.4473, allocations: 0.8125 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4473, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.448, allocations: 378 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.4485, allocations: 73.31 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.4553, allocations: 4.435 MB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.4557, allocations: 0.7909 MB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.4559, allocations: 17.95 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.456, allocations: 91.41 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of SimCode: time 1.323e-06/0.456, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4903, allocations: 8.932 MB / 1.375 GB, free: 1.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.29, allocations: 6.188 kB / 1.375 GB, free: 1.18 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.20808281301288] Failed to read output from testmodel.py, exit status != 0: 12.44943414797308 12.464060057 12.032026447 Calling exit ...