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.001748/0.001748, allocations: 97.92 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.001761/0.001761, allocations: 220.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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.461/3.461, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.002006/0.002006, allocations: 65.77 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4918, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.006003/0.4978, allocations: 2.034 MB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.5006, allocations: 1.13 MB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.5007, allocations: 8 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.5014, allocations: 115.5 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.5015, allocations: 47.58 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.5026, allocations: 259.5 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.5031, allocations: 299.3 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.5033, allocations: 75.2 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.5035, allocations: 111.6 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.5037, allocations: 131.5 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.5038, allocations: 31.98 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.5043, allocations: 247.7 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.5045, allocations: 91.67 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.5046, allocations: 123.4 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.5056, allocations: 0.5527 MB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.5056, allocations: 4 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.218e-06/0.5056, allocations: 0 / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.5056, allocations: 0 / 1.35 GB, free: 10.68 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.001736/0.5073, allocations: 0.7563 MB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5074, allocations: 8.031 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.172e-05/0.5074, allocations: 8.469 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.5075, allocations: 50.73 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.5076, allocations: 36.7 kB / 1.351 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.508, allocations: 262.8 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.5081, allocations: 16.22 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.5081, allocations: 16 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.5088, allocations: 384 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5089, allocations: 0 / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.5089, allocations: 8 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5089, allocations: 4 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.5096, allocations: 353.5 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.5107, allocations: 0.578 MB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.5113, allocations: 315.7 kB / 1.353 GB, free: 7.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.5118, allocations: 278 kB / 1.353 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5118, allocations: 0 / 1.353 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.5119, allocations: 34.56 kB / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.5119, allocations: 0 / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.001667/0.5136, allocations: 0.8544 MB / 1.354 GB, free: 6.457 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5137, allocations: 144.4 kB / 1.354 GB, free: 6.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.5142, allocations: 380.5 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5142, allocations: 29.7 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5144, allocations: 172.3 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.5144, allocations: 43.64 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.5145, allocations: 49.69 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5147, allocations: 342.8 kB / 1.355 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.5153, allocations: 422 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.5158, allocations: 418.1 kB / 1.356 GB, free: 4.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5169, allocations: 0.7013 MB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5169, allocations: 0 / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00134/0.5182, allocations: 0.9255 MB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.5184, allocations: 178.2 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.5184, allocations: 3.938 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.5184, allocations: 7.984 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.5186, allocations: 31.97 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5186, allocations: 0 / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.5188, allocations: 47.69 kB / 1.358 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.5189, allocations: 12 kB / 1.358 GB, free: 2.281 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.0002719/0.5191, allocations: 250.9 kB / 1.358 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.5192, allocations: 35.81 kB / 1.358 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.5193, allocations: 26.88 kB / 1.358 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5193, allocations: 4 kB / 1.358 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5193, allocations: 4 kB / 1.358 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5193, allocations: 3.938 kB / 1.358 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.5196, allocations: 264.6 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5196, allocations: 0 / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5198, allocations: 35.89 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5198, allocations: 4 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.5198, allocations: 0 / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5198, allocations: 7.938 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5198, allocations: 4 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5209, allocations: 0.7083 MB / 1.359 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.521, allocations: 39.7 kB / 1.359 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.521, allocations: 8 kB / 1.359 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.5212, allocations: 31.95 kB / 1.359 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5214, allocations: 31.91 kB / 1.359 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5214, allocations: 4 kB / 1.359 GB, free: 0.707 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003194/0.5217, allocations: 271 kB / 1.36 GB, free: 452 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.5217, allocations: 0 / 1.36 GB, free: 452 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.000479/0.5222, allocations: 107.9 kB / 1.36 GB, free: 344 kB / 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.001654/0.5239, allocations: 1.305 MB / 1.361 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.5253, allocations: 1.089 MB / 1.362 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5253, allocations: 4 kB / 1.362 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.5259, allocations: 451.2 kB / 1.363 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5264, allocations: 81.25 kB / 1.363 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/0.5339, allocations: 5.289 MB / 1.368 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.5341, allocations: 182.1 kB / 1.368 GB, free: 7.406 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000117/0.5342, allocations: 21.95 kB / 1.368 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.5344, allocations: 91.39 kB / 1.368 GB, free: 7.297 MB / 1.061 GB Notification: Performance of SimCode: time 2.775e-06/0.5344, allocations: 0 / 1.368 GB, free: 7.297 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5719, allocations: 9.347 MB / 1.377 GB, free: 14.24 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.34, allocations: 17.52 kB / 1.377 GB, free: 14.23 MB / 1.076 GB " [Timeout remaining time 286] (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: 20.74421389005147] Failed to read output from testmodel.py, exit status != 0: 13.519301473977976 13.536199868 13.027502181 Calling exit ...