Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001684/0.001684, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001988/0.001988, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.368/1.368, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003416/0.003416, allocations: 283.4 kB / 309.8 MB, free: 3.547 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.087/1.087, allocations: 180.6 MB / 0.5338 GB, free: 12.45 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002732/0.002732, allocations: 103.8 kB / 0.7347 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5022, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00292/0.5051, allocations: 2.104 MB / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.5066, allocations: 1.224 MB / 0.831 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.5067, allocations: 2.625 kB / 0.831 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.5071, allocations: 123.2 kB / 0.8312 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.808e-05/0.5072, allocations: 46.52 kB / 0.8312 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.5078, allocations: 265 kB / 0.8315 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.508, allocations: 297.1 kB / 0.8317 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5082, allocations: 72.83 kB / 0.8318 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.5083, allocations: 106.6 kB / 0.8319 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.5084, allocations: 133.4 kB / 0.832 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.5084, allocations: 31.16 kB / 0.8321 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.5088, allocations: 236.3 kB / 0.8323 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.5089, allocations: 90.28 kB / 0.8324 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.509, allocations: 152 kB / 0.8325 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.5096, allocations: 0.5606 MB / 0.8331 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5096, allocations: 0 / 0.8331 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5096, allocations: 3.047 kB / 0.8331 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5097, allocations: 0 / 0.8331 GB, free: 15.84 MB / 0.5919 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.001213/0.5109, allocations: 0.8094 MB / 0.8339 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5109, allocations: 14.09 kB / 0.8339 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.5109, allocations: 3.375 kB / 0.8339 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.511, allocations: 48.19 kB / 0.8339 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.511, allocations: 43.92 kB / 0.834 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.5114, allocations: 323.5 kB / 0.8343 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.5115, allocations: 14.25 kB / 0.8343 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.5115, allocations: 18.94 kB / 0.8343 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.5121, allocations: 296 kB / 0.8346 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5121, allocations: 0.6562 kB / 0.8346 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.5121, allocations: 6.656 kB / 0.8346 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5122, allocations: 4.75 kB / 0.8346 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.5128, allocations: 268.3 kB / 0.8349 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.5138, allocations: 0.6771 MB / 0.8355 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.5144, allocations: 224.5 kB / 0.8357 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.5148, allocations: 189.1 kB / 0.8359 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5148, allocations: 2.188 kB / 0.8359 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5148, allocations: 36.72 kB / 0.836 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5148, allocations: 0 / 0.836 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.00135/0.5162, allocations: 0.6644 MB / 0.8366 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.5163, allocations: 139.5 kB / 0.8367 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.5167, allocations: 384.9 kB / 0.8371 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.5167, allocations: 31.89 kB / 0.8371 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5168, allocations: 162.3 kB / 0.8373 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.5169, allocations: 53.12 kB / 0.8373 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.517, allocations: 44.61 kB / 0.8374 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5171, allocations: 350.4 kB / 0.8377 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.5176, allocations: 240.4 kB / 0.838 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.518, allocations: 243.3 kB / 0.8382 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.5189, allocations: 0.6805 MB / 0.8388 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5189, allocations: 4 kB / 0.8389 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001072/0.52, allocations: 0.7282 MB / 0.8396 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5201, allocations: 181 kB / 0.8397 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5201, allocations: 0 / 0.8397 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5201, allocations: 1.75 kB / 0.8397 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.5203, allocations: 36.28 kB / 0.8398 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5203, allocations: 2.516 kB / 0.8398 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.5205, allocations: 47.64 kB / 0.8398 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.5205, allocations: 7.562 kB / 0.8398 GB, free: 11.56 MB / 0.5919 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.0002282/0.5207, allocations: 267.8 kB / 0.8401 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.5208, allocations: 29.97 kB / 0.8401 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.5209, allocations: 36.19 kB / 0.8401 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5209, allocations: 1.156 kB / 0.8401 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5209, allocations: 0 / 0.8401 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5209, allocations: 1.453 kB / 0.8401 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.5213, allocations: 350.1 kB / 0.8405 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5213, allocations: 0 / 0.8405 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.5214, allocations: 28.02 kB / 0.8405 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5214, allocations: 0 / 0.8405 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.5214, allocations: 10.02 kB / 0.8405 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5214, allocations: 4 kB / 0.8405 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5214, allocations: 0.5156 kB / 0.8405 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.5224, allocations: 0.6155 MB / 0.8411 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.5225, allocations: 116.3 kB / 0.8412 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.5226, allocations: 8.391 kB / 0.8412 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5228, allocations: 26.16 kB / 0.8413 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5229, allocations: 25 kB / 0.8413 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.5229, allocations: 10.66 kB / 0.8413 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002885/0.5232, allocations: 275 kB / 0.8416 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5232, allocations: 0 / 0.8416 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004461/0.5236, allocations: 106.7 kB / 0.8417 GB, free: 10.36 MB / 0.5919 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.001467/0.5251, allocations: 1.222 MB / 0.8429 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.5263, allocations: 0.8168 MB / 0.8437 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5263, allocations: 0 / 0.8437 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.5269, allocations: 380.6 kB / 0.844 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.5273, allocations: 61.89 kB / 0.8441 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/0.5335, allocations: 4.42 MB / 0.8484 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.5339, allocations: 0.7832 MB / 0.8492 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000107/0.534, allocations: 30.91 kB / 0.8492 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.5342, allocations: 87.62 kB / 0.8493 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.5342, allocations: 0 / 0.8493 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.5601, allocations: 8.798 MB / 0.8579 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.72, allocations: 14.27 kB / 0.8579 GB, free: 2.715 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.555340179009363] Failed to read output from testmodel.py, exit status != 0: 8.845267132041045 8.864538319 8.351386671 Calling exit ...