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.001508/0.001508, allocations: 116.1 kB / 17.17 MB, free: 6 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.001599/0.001599, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.365/1.365, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.72/2.72, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.001903/0.001903, allocations: 63.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9304, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00291/0.9333, allocations: 2.125 MB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.9349, allocations: 1.214 MB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.9351, allocations: 6.906 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.9355, allocations: 122.4 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.9356, allocations: 44.64 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.9363, allocations: 258.5 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.9365, allocations: 301.8 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.9367, allocations: 71.16 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.9368, allocations: 105 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.9369, allocations: 134.5 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.9369, allocations: 34.28 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.9373, allocations: 227.8 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.9373, allocations: 95.31 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.9374, allocations: 155 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.938, allocations: 0.5546 MB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.938, allocations: 0.6562 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.938, allocations: 0 / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.938, allocations: 0.5625 kB / 1.327 GB, free: 21.54 MB / 1.061 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.001177/0.9392, allocations: 0.8234 MB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9392, allocations: 12.98 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.9392, allocations: 8.438 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.9393, allocations: 51.86 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.9394, allocations: 37.59 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.9397, allocations: 322.1 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.9397, allocations: 12.81 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.9398, allocations: 20.88 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.9404, allocations: 295.1 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9404, allocations: 0.5625 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.9404, allocations: 6.562 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.9405, allocations: 3.812 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.9412, allocations: 276.3 kB / 1.329 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.9422, allocations: 0.6715 MB / 1.329 GB, free: 19.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.9428, allocations: 221.3 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.9432, allocations: 190 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.9432, allocations: 1.344 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.9433, allocations: 36.77 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.9433, allocations: 0 / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001416/0.9447, allocations: 0.6722 MB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.9447, allocations: 138.5 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.9452, allocations: 376.1 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9452, allocations: 29.81 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.9453, allocations: 177.7 kB / 1.331 GB, free: 18.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.9453, allocations: 45.2 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.9454, allocations: 48.16 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.9455, allocations: 344.4 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.946, allocations: 245.3 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.9464, allocations: 235.2 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.9473, allocations: 0.6852 MB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9473, allocations: 0 / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001135/0.9485, allocations: 0.7275 MB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-05/0.9486, allocations: 190.3 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9486, allocations: 0 / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.9486, allocations: 0.8438 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.9488, allocations: 33.03 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.9488, allocations: 0.9062 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.949, allocations: 41.2 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.9491, allocations: 11.12 kB / 1.334 GB, free: 17.24 MB / 1.061 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.0002101/0.9493, allocations: 263.3 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.9493, allocations: 30.88 kB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.9494, allocations: 27.75 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9494, allocations: 5.25 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9494, allocations: 1.422 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9494, allocations: 0.5938 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.9498, allocations: 350.6 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9498, allocations: 0.7031 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.95, allocations: 30.94 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.95, allocations: 1.359 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.95, allocations: 11.66 kB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.95, allocations: 1.703 kB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.95, allocations: 0 / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.9512, allocations: 0.62 MB / 1.335 GB, free: 16.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.9513, allocations: 112.2 kB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.9513, allocations: 8.453 kB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.9516, allocations: 25.86 kB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.9517, allocations: 29.39 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.9517, allocations: 4.594 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003431/0.9521, allocations: 276.6 kB / 1.335 GB, free: 16.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9521, allocations: 0 / 1.335 GB, free: 16.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000477/0.9525, allocations: 103.2 kB / 1.335 GB, free: 16.05 MB / 1.061 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.001303/0.9538, allocations: 1.229 MB / 1.337 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.9549, allocations: 0.814 MB / 1.337 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9549, allocations: 4 kB / 1.337 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.9554, allocations: 370.1 kB / 1.338 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.9558, allocations: 72.62 kB / 1.338 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.9617, allocations: 4.427 MB / 1.342 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.962, allocations: 0.7879 MB / 1.343 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.9621, allocations: 20.03 kB / 1.343 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.9622, allocations: 90.97 kB / 1.343 GB, free: 11.15 MB / 1.061 GB Notification: Performance of SimCode: time 1.132e-06/0.9622, allocations: 0 / 1.343 GB, free: 11.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.9976, allocations: 8.769 MB / 1.352 GB, free: 10.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/9.81, allocations: 12.3 kB / 1.352 GB, free: 10.33 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.670067831990309] Failed to read output from testmodel.py, exit status != 0: 9.938555751985405 9.961440432 9.019199896 Calling exit ...