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.001551/0.001551, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001812/0.001812, allocations: 220 kB / 23.04 MB, free: 5.078 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.5/1.5, 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 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.185/3.185, allocations: 0.49 GB / 0.7959 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.001964/0.001964, allocations: 66.22 kB / 1.155 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 176.1 MB / 1.327 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003578/0.3416, allocations: 2.147 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3438, allocations: 1.235 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.344, allocations: 4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.3444, allocations: 115.6 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3445, allocations: 51.52 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.3453, allocations: 267.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.3457, allocations: 295.3 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3459, allocations: 71.44 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3461, allocations: 107.6 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3462, allocations: 131.4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.3463, allocations: 32 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3467, allocations: 251.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3469, allocations: 91.69 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.347, allocations: 147.2 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.3477, allocations: 0.5566 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3477, allocations: 4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3477, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3477, allocations: 4 kB / 1.332 GB, free: 12.38 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.001333/0.349, allocations: 0.7447 MB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3491, allocations: 12.03 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.3491, allocations: 12.41 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.3491, allocations: 50.67 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.3492, allocations: 36.75 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.3497, allocations: 262.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3497, allocations: 16.66 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3497, allocations: 16.38 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.3504, allocations: 294.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3504, allocations: 7.984 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.3504, allocations: 8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3505, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.3511, allocations: 268.4 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3522, allocations: 0.6402 MB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.3527, allocations: 222.6 kB / 1.335 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.3531, allocations: 184.7 kB / 1.335 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3531, allocations: 0 / 1.335 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3532, allocations: 38.56 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.3532, allocations: 0 / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001458/0.3546, allocations: 0.6703 MB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3547, allocations: 140.4 kB / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.3552, allocations: 376.5 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3552, allocations: 29.81 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3554, allocations: 168.3 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.3554, allocations: 59.52 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3555, allocations: 45.7 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3557, allocations: 350.7 kB / 1.337 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.3562, allocations: 231.9 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.3567, allocations: 248.5 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3577, allocations: 0.6754 MB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3577, allocations: 0 / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001304/0.359, allocations: 0.7298 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.3592, allocations: 182.2 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3592, allocations: 0 / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3592, allocations: 0 / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3594, allocations: 35.91 kB / 1.339 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3594, allocations: 4 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3596, allocations: 43.78 kB / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3596, allocations: 8 kB / 1.339 GB, free: 5.242 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.0002609/0.3599, allocations: 258.8 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.3599, allocations: 35.77 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.36, allocations: 30.88 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.36, allocations: 4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.36, allocations: 4 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.36, allocations: 3.984 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3604, allocations: 312.4 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3604, allocations: 4 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3606, allocations: 31.91 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3606, allocations: 4 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3606, allocations: 7.984 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3606, allocations: 0 / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3606, allocations: 0 / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3616, allocations: 0.6271 MB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.3617, allocations: 39.73 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.3617, allocations: 8 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3619, allocations: 27.97 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3621, allocations: 23.97 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3621, allocations: 8 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003985/0.3625, allocations: 275 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 0 / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004304/0.3629, allocations: 103.8 kB / 1.34 GB, free: 3.348 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.001722/0.3646, allocations: 1.229 MB / 1.342 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.3659, allocations: 0.8086 MB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3659, allocations: 0 / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.3665, allocations: 370 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.367, allocations: 70.7 kB / 1.343 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.3737, allocations: 4.441 MB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3742, allocations: 0.7831 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.3744, allocations: 21.95 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3745, allocations: 91.41 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.3745, allocations: 0 / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.4073, allocations: 8.932 MB / 1.357 GB, free: 2.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.44, allocations: 15.38 kB / 1.357 GB, free: 2.543 MB / 1.045 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: 19.282999037997797] Failed to read output from testmodel.py, exit status != 0: 12.601056676998269 12.61633081 12.265563949 Calling exit ...