Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009348/0.009347, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7758/0.7758, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.34 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5278, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6802, allocations: 115.7 MB / 0.7625 GB, free: 324 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.6805, allocations: 103.9 kB / 0.7626 GB, free: 220 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.7003, allocations: 6.964 MB / 0.7694 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7004, allocations: 0 / 0.7694 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.7004, allocations: 4 kB / 0.7694 GB, free: 9.234 MB / 0.5417 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.001066/0.7015, allocations: 0.7817 MB / 0.7701 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.7015, allocations: 12.02 kB / 0.7702 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.7016, allocations: 54.5 kB / 0.7702 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.7017, allocations: 35.53 kB / 0.7702 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.7021, allocations: 315 kB / 0.7705 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7022, allocations: 12.28 kB / 0.7706 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7022, allocations: 16 kB / 0.7706 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.7028, allocations: 306.9 kB / 0.7709 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.7029, allocations: 0 / 0.7709 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.7029, allocations: 8 kB / 0.7709 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7029, allocations: 4 kB / 0.7709 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.7035, allocations: 304.4 kB / 0.7712 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.7047, allocations: 0.7424 MB / 0.7719 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.7053, allocations: 254.6 kB / 0.7721 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.7054, allocations: 0 / 0.7721 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.7054, allocations: 34.55 kB / 0.7722 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.7054, allocations: 0 / 0.7722 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001423/0.7068, allocations: 0.9556 MB / 0.7731 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.7069, allocations: 144.5 kB / 0.7732 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.7073, allocations: 335.6 kB / 0.7736 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.7073, allocations: 33.7 kB / 0.7736 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7075, allocations: 164.3 kB / 0.7737 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7075, allocations: 47.31 kB / 0.7738 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.7075, allocations: 0 / 0.7738 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7077, allocations: 346.8 kB / 0.7741 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.7081, allocations: 251.8 kB / 0.7744 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.7085, allocations: 244.5 kB / 0.7746 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.709, allocations: 421.9 kB / 0.775 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.709, allocations: 0 / 0.775 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001086/0.7101, allocations: 0.7414 MB / 0.7757 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.7102, allocations: 186.2 kB / 0.7759 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7103, allocations: 7.938 kB / 0.7759 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7103, allocations: 4 kB / 0.7759 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.7105, allocations: 35.97 kB / 0.7759 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7105, allocations: 3.938 kB / 0.776 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.7107, allocations: 67.64 kB / 0.776 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.7108, allocations: 8 kB / 0.776 GB, free: 1.973 MB / 0.5417 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.711, allocations: 254.9 kB / 0.7763 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.7111, allocations: 31.62 kB / 0.7763 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.7111, allocations: 30.94 kB / 0.7763 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7111, allocations: 3.984 kB / 0.7763 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7111, allocations: 3.938 kB / 0.7763 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7112, allocations: 4 kB / 0.7763 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.7115, allocations: 353.3 kB / 0.7767 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7115, allocations: 0 / 0.7767 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.7117, allocations: 35.97 kB / 0.7767 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7117, allocations: 0 / 0.7767 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.7117, allocations: 4 kB / 0.7767 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7117, allocations: 0 / 0.7767 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7117, allocations: 7.938 kB / 0.7767 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.7127, allocations: 0.6497 MB / 0.7774 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.7128, allocations: 108.7 kB / 0.7775 GB, free: 376 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.7128, allocations: 8 kB / 0.7775 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.7131, allocations: 35.97 kB / 0.7775 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.7132, allocations: 27.97 kB / 0.7775 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.7133, allocations: 11.98 kB / 0.7775 GB, free: 292 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002525/0.7135, allocations: 267 kB / 0.7778 GB, free: 24 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7135, allocations: 4 kB / 0.7778 GB, free: 20 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000527/0.7141, allocations: 131.8 kB / 0.7779 GB, free: 15.89 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.7156, allocations: 1.373 MB / 0.7793 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.7167, allocations: 0.8594 MB / 0.7801 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7168, allocations: 0 / 0.7801 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.7173, allocations: 394.1 kB / 0.7805 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.7176, allocations: 65.55 kB / 0.7805 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.719, allocations: 1.018 MB / 0.7815 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.7194, allocations: 0.8025 MB / 0.7823 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.427e-05/0.7195, allocations: 17.95 kB / 0.7823 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.7196, allocations: 87.41 kB / 0.7824 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of SimCode: time 4.068e-06/0.7196, allocations: 0 / 0.7824 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.7433, allocations: 9.618 MB / 0.7918 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.7435, allocations: 207.5 kB / 0.792 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.952, allocations: 4.062 kB / 0.792 GB, free: 1.445 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)