Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_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.005981/0.005981, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.2 MB / 151 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.521/1.521, allocations: 223.1 MB / 406.8 MB, free: 3.246 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.0009168/0.0009168, allocations: 91.17 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6616, allocations: 82.29 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.9017, allocations: 115.7 MB / 0.7625 GB, free: 344 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004779/0.9023, allocations: 95.94 kB / 0.7626 GB, free: 248 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02897/0.9313, allocations: 6.972 MB / 0.7694 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9314, allocations: 0 / 0.7694 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.9314, allocations: 4 kB / 0.7694 GB, free: 9.254 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.001592/0.933, allocations: 0.7895 MB / 0.7702 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.9331, allocations: 8.031 kB / 0.7702 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/0.9332, allocations: 54.55 kB / 0.7702 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.9333, allocations: 35.53 kB / 0.7703 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.9339, allocations: 307 kB / 0.7705 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.9339, allocations: 12.28 kB / 0.7706 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.934, allocations: 20 kB / 0.7706 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000896/0.9349, allocations: 302.9 kB / 0.7709 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9349, allocations: 0 / 0.7709 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.9349, allocations: 8 kB / 0.7709 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.935, allocations: 4 kB / 0.7709 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.936, allocations: 308.4 kB / 0.7712 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.9378, allocations: 0.7462 MB / 0.7719 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.9386, allocations: 254.5 kB / 0.7721 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.9387, allocations: 3.984 kB / 0.7721 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.9387, allocations: 34.56 kB / 0.7722 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/0.9387, allocations: 0 / 0.7722 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0022/0.9409, allocations: 0.9557 MB / 0.7731 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.941, allocations: 140.5 kB / 0.7732 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.9416, allocations: 339.6 kB / 0.7736 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.9417, allocations: 33.64 kB / 0.7736 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.9419, allocations: 164.3 kB / 0.7738 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.942, allocations: 51.34 kB / 0.7738 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.942, allocations: 4 kB / 0.7738 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9422, allocations: 342.8 kB / 0.7741 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.9428, allocations: 251.8 kB / 0.7744 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.9435, allocations: 248.5 kB / 0.7746 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.9443, allocations: 417.9 kB / 0.775 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9443, allocations: 0 / 0.775 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001727/0.9461, allocations: 0.7414 MB / 0.7757 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.9463, allocations: 182.2 kB / 0.7759 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9463, allocations: 0 / 0.7759 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.9463, allocations: 4 kB / 0.7759 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.9466, allocations: 39.91 kB / 0.776 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9466, allocations: 3.984 kB / 0.776 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.947, allocations: 63.66 kB / 0.776 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.9471, allocations: 12 kB / 0.776 GB, free: 1.992 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.0004192/0.9475, allocations: 262.8 kB / 0.7763 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.9477, allocations: 31.62 kB / 0.7763 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.9478, allocations: 30.94 kB / 0.7763 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9478, allocations: 0 / 0.7763 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.9478, allocations: 3.938 kB / 0.7763 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9478, allocations: 4 kB / 0.7763 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.9483, allocations: 349.4 kB / 0.7767 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9483, allocations: 0 / 0.7767 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.9486, allocations: 35.97 kB / 0.7767 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9486, allocations: 0 / 0.7767 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.9487, allocations: 4 kB / 0.7767 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.9487, allocations: 3.938 kB / 0.7767 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9487, allocations: 4 kB / 0.7767 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.9502, allocations: 0.6523 MB / 0.7774 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.9503, allocations: 104.7 kB / 0.7775 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.9504, allocations: 8 kB / 0.7775 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.9508, allocations: 43.95 kB / 0.7775 GB, free: 344 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.9509, allocations: 23.97 kB / 0.7775 GB, free: 320 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.951, allocations: 11.98 kB / 0.7775 GB, free: 308 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004712/0.9515, allocations: 271 kB / 0.7778 GB, free: 36 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9515, allocations: 4 kB / 0.7778 GB, free: 32 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008741/0.9524, allocations: 127.8 kB / 0.7779 GB, free: 15.9 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.002621/0.955, allocations: 1.362 MB / 0.7793 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.9568, allocations: 0.8672 MB / 0.7801 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9568, allocations: 0 / 0.7801 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.9576, allocations: 398 kB / 0.7805 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.9583, allocations: 63.8 kB / 0.7805 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.9607, allocations: 1.018 MB / 0.7815 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.9613, allocations: 0.7947 MB / 0.7823 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.9615, allocations: 25.94 kB / 0.7823 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.9617, allocations: 83.41 kB / 0.7824 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.343e-06/0.9617, allocations: 0 / 0.7824 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.997, allocations: 9.624 MB / 0.7918 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003221/0.9974, allocations: 199 kB / 0.792 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.304, allocations: 0 / 0.792 GB, free: 1.465 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)