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.0008485/0.0008485, allocations: 76.5 kB / 19.93 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.0009684/0.0009684, allocations: 169.9 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.8853/0.8853, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5533/0.5533, allocations: 114 MB / 373.9 MB, free: 8.707 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.272e-06/1.272e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.146e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002094/0.002106, allocations: 2.036 MB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003296, allocations: 1.133 MB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.003368, allocations: 7.938 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.003682, allocations: 107.3 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.003751, allocations: 55.52 kB / 0.5575 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.004224, allocations: 259.4 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.004454, allocations: 307.2 kB / 0.558 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.004574, allocations: 63.52 kB / 0.5581 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.004687, allocations: 163.7 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004793, allocations: 99.69 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.004822, allocations: 28 kB / 0.5583 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.005057, allocations: 239.6 kB / 0.5586 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.005132, allocations: 95.67 kB / 0.5587 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.005205, allocations: 99.75 kB / 0.5588 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.005681, allocations: 0.6077 MB / 0.5594 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005684, allocations: 3.984 kB / 0.5594 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005685, allocations: 0 / 0.5594 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005689, allocations: 0 / 0.5594 GB, free: 13.49 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.0007044/0.006394, allocations: 0.7408 MB / 0.5601 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.006427, allocations: 8.625 kB / 0.5601 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.006467, allocations: 50.73 kB / 0.5601 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.006512, allocations: 36.7 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.00677, allocations: 266 kB / 0.5604 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.006785, allocations: 16.66 kB / 0.5604 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.006805, allocations: 20.38 kB / 0.5605 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.007184, allocations: 387.9 kB / 0.5608 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.007192, allocations: 0 / 0.5608 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.007208, allocations: 11.94 kB / 0.5608 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007213, allocations: 4 kB / 0.5608 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.007586, allocations: 361.2 kB / 0.5612 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.008183, allocations: 0.5781 MB / 0.5618 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.008534, allocations: 307.7 kB / 0.562 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.008772, allocations: 277.8 kB / 0.5623 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.008784, allocations: 4 kB / 0.5623 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.008802, allocations: 30.56 kB / 0.5623 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.008804, allocations: 4.047 kB / 0.5623 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0008056/0.009609, allocations: 0.8509 MB / 0.5632 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.009657, allocations: 132.5 kB / 0.5633 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.009914, allocations: 384.5 kB / 0.5637 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.009931, allocations: 33.7 kB / 0.5637 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.01001, allocations: 160.5 kB / 0.5639 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.01004, allocations: 43.64 kB / 0.5639 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.01009, allocations: 53.7 kB / 0.5639 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.01018, allocations: 342.8 kB / 0.5643 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.01048, allocations: 418 kB / 0.5647 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.01077, allocations: 426 kB / 0.5651 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.01135, allocations: 0.7061 MB / 0.5658 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01135, allocations: 0 / 0.5658 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006712/0.01202, allocations: 0.9156 MB / 0.5667 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.01209, allocations: 182.2 kB / 0.5668 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01209, allocations: 0 / 0.5668 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01211, allocations: 4 kB / 0.5668 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.01219, allocations: 27.97 kB / 0.5669 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01219, allocations: 0 / 0.5669 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01229, allocations: 47.75 kB / 0.5669 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01231, allocations: 11.98 kB / 0.5669 GB, free: 5.117 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.0001426/0.01245, allocations: 262.8 kB / 0.5672 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.01249, allocations: 31.81 kB / 0.5672 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.01252, allocations: 26.88 kB / 0.5672 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01252, allocations: 0 / 0.5672 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01253, allocations: 4 kB / 0.5672 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01253, allocations: 0 / 0.5672 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.01277, allocations: 276.5 kB / 0.5675 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01277, allocations: 3.938 kB / 0.5675 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.01284, allocations: 27.97 kB / 0.5675 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.01284, allocations: 4 kB / 0.5675 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01285, allocations: 4 kB / 0.5675 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01285, allocations: 4 kB / 0.5675 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01285, allocations: 0 / 0.5675 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.01342, allocations: 0.7121 MB / 0.5682 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.01346, allocations: 39.73 kB / 0.5683 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01348, allocations: 12 kB / 0.5683 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01358, allocations: 27.97 kB / 0.5683 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.01366, allocations: 23.97 kB / 0.5683 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01367, allocations: 11.98 kB / 0.5683 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001739/0.01385, allocations: 271 kB / 0.5686 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01385, allocations: 0 / 0.5686 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002457/0.01409, allocations: 107.8 kB / 0.5687 GB, free: 3.16 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.0008551/0.01495, allocations: 1.319 MB / 0.57 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007403/0.01569, allocations: 1.081 MB / 0.5711 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01569, allocations: 0 / 0.5711 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.01599, allocations: 462.6 kB / 0.5715 GB, free: 64 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.01636, allocations: 70.42 kB / 0.5716 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.02019, allocations: 5.285 MB / 0.5767 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.0203, allocations: 182.1 kB / 0.5769 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.02035, allocations: 17.95 kB / 0.5769 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.02044, allocations: 96.47 kB / 0.577 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.02044, allocations: 0 / 0.577 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.04082, allocations: 9.896 MB / 0.5867 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.139, allocations: 2.75 kB / 0.5867 GB, free: 0.5352 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.664511836133897] Failed to read output from testmodel.py, exit status != 0: 7.223572882823646 7.232828323 7.225499385 Calling exit ...