Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009208/0.0009208, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000838/0.000838, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9045/0.9045, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5654/0.5654, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.688e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00252/0.002547, allocations: 2.028 MB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.003965, allocations: 1.137 MB / 0.5573 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.004046, allocations: 0 / 0.5573 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.004381, allocations: 119.3 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.004455, allocations: 47.53 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.005009, allocations: 263.4 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.005261, allocations: 315.1 kB / 0.558 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.005404, allocations: 59.52 kB / 0.5581 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.005608, allocations: 151.8 kB / 0.5582 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005738, allocations: 103.7 kB / 0.5583 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.005772, allocations: 32 kB / 0.5583 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.006053, allocations: 239.6 kB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.006143, allocations: 95.67 kB / 0.5587 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.006226, allocations: 99.75 kB / 0.5588 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.006725, allocations: 0.6077 MB / 0.5593 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006727, allocations: 0 / 0.5593 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006729, allocations: 0 / 0.5593 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006734, allocations: 0 / 0.5593 GB, free: 13.47 MB / 0.5261 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.0007651/0.007499, allocations: 0.7369 MB / 0.5601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.00754, allocations: 12.62 kB / 0.5601 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.007583, allocations: 50.73 kB / 0.5601 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.007642, allocations: 44.7 kB / 0.5602 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.007923, allocations: 266 kB / 0.5604 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.007937, allocations: 12.66 kB / 0.5604 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.007958, allocations: 16.38 kB / 0.5604 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.008353, allocations: 380 kB / 0.5608 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.008362, allocations: 7.938 kB / 0.5608 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.008378, allocations: 11.94 kB / 0.5608 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.008385, allocations: 8 kB / 0.5608 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.008774, allocations: 361.2 kB / 0.5612 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.009404, allocations: 0.5742 MB / 0.5617 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.009777, allocations: 311.7 kB / 0.562 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.01002, allocations: 269.8 kB / 0.5623 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01004, allocations: 8.031 kB / 0.5623 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01006, allocations: 38.56 kB / 0.5623 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.01006, allocations: 3.984 kB / 0.5623 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0008529/0.01091, allocations: 0.8441 MB / 0.5632 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.01097, allocations: 136.5 kB / 0.5633 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.01124, allocations: 380.5 kB / 0.5637 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.01126, allocations: 29.7 kB / 0.5637 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.01135, allocations: 168.4 kB / 0.5639 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.01139, allocations: 43.64 kB / 0.5639 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.01145, allocations: 45.7 kB / 0.5639 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01155, allocations: 342.8 kB / 0.5643 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.01187, allocations: 422 kB / 0.5647 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.01219, allocations: 428.9 kB / 0.5651 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.01274, allocations: 0.7061 MB / 0.5658 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01275, allocations: 0 / 0.5658 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007018/0.01345, allocations: 0.9117 MB / 0.5667 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.01353, allocations: 186.2 kB / 0.5668 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01353, allocations: 0 / 0.5668 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01354, allocations: 0 / 0.5668 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.01363, allocations: 27.97 kB / 0.5669 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01363, allocations: 4 kB / 0.5669 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.01375, allocations: 51.75 kB / 0.5669 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.01376, allocations: 4 kB / 0.5669 GB, free: 5.102 MB / 0.5261 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.0001531/0.01392, allocations: 266.8 kB / 0.5672 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.01395, allocations: 27.81 kB / 0.5672 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.01398, allocations: 30.88 kB / 0.5672 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01399, allocations: 3.938 kB / 0.5672 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.01399, allocations: 0 / 0.5672 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.014, allocations: 4 kB / 0.5672 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.01424, allocations: 280.5 kB / 0.5675 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01424, allocations: 0 / 0.5675 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.01431, allocations: 27.97 kB / 0.5675 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01432, allocations: 0 / 0.5675 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01433, allocations: 4 kB / 0.5675 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01433, allocations: 0 / 0.5675 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01433, allocations: 0 / 0.5675 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.01492, allocations: 0.7199 MB / 0.5682 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.01495, allocations: 35.73 kB / 0.5683 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01498, allocations: 8 kB / 0.5683 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01508, allocations: 27.97 kB / 0.5683 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.01518, allocations: 27.97 kB / 0.5683 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01519, allocations: 8 kB / 0.5683 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001833/0.01537, allocations: 279 kB / 0.5686 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01537, allocations: 0 / 0.5686 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002859/0.01566, allocations: 103.8 kB / 0.5687 GB, free: 3.141 MB / 0.5261 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.0008999/0.01656, allocations: 1.316 MB / 0.57 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008339/0.01739, allocations: 1.085 MB / 0.571 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01739, allocations: 0 / 0.571 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.01769, allocations: 459.1 kB / 0.5715 GB, free: 44 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.01801, allocations: 69.67 kB / 0.5716 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.02192, allocations: 5.291 MB / 0.5767 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.02204, allocations: 178.1 kB / 0.5769 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.904e-05/0.02211, allocations: 21.95 kB / 0.5769 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.02221, allocations: 96.45 kB / 0.577 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/0.02221, allocations: 0 / 0.577 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.04518, allocations: 9.893 MB / 0.5867 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.974, allocations: 2.578 kB / 0.5867 GB, free: 0.5195 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.485829933546484] Failed to read output from testmodel.py, exit status != 0: 7.06062556989491 7.076054503 7.067512274 Calling exit ...