Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6761/0.6761, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 179.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0007569/0.0007569, allocations: 92.72 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 281.7 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.873e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.272/3.595, allocations: 1.921 GB / 2.685 GB, free: 138.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/3.596, allocations: 92.48 kB / 2.685 GB, free: 138.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.692/10.29, allocations: 2.089 GB / 4.775 GB, free: 76.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/10.29, allocations: 0 / 4.775 GB, free: 76.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002093/10.29, allocations: 57.66 kB / 4.775 GB, free: 76.91 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004704/10.29, allocations: 2.392 MB / 4.777 GB, free: 75.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/10.29, allocations: 10.59 kB / 4.777 GB, free: 75.96 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/10.29, allocations: 197.6 kB / 4.777 GB, free: 75.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/10.3, allocations: 0.7767 MB / 4.778 GB, free: 75.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/10.3, allocations: 2.162 MB / 4.78 GB, free: 75.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/10.3, allocations: 113.5 kB / 4.78 GB, free: 75.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/10.3, allocations: 144.7 kB / 4.78 GB, free: 75.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/10.3, allocations: 1.482 MB / 4.782 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/10.3, allocations: 0 / 4.782 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/10.3, allocations: 57.52 kB / 4.782 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/10.3, allocations: 49.02 kB / 4.782 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/10.31, allocations: 1.137 MB / 4.783 GB, free: 75.18 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00922/10.32, allocations: 7.446 MB / 4.79 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/10.32, allocations: 1.349 MB / 4.792 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/10.32, allocations: 440 kB / 4.792 GB, free: 70.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/10.32, allocations: 0.7515 MB / 4.793 GB, free: 69.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007122/10.32, allocations: 484.7 kB / 4.793 GB, free: 69.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008743/10.32, allocations: 122.1 kB / 4.793 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=86): time 3.437e-06/10.32, allocations: 0 / 4.793 GB, free: 69.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86): time 0.001777/10.32, allocations: 0.9297 MB / 4.794 GB, free: 69.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/10.32, allocations: 114.3 kB / 4.794 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/10.32, allocations: 1.316 MB / 4.796 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/10.32, allocations: 45.42 kB / 4.796 GB, free: 69.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/10.32, allocations: 0.9203 MB / 4.797 GB, free: 69.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/10.32, allocations: 314.8 kB / 4.797 GB, free: 68.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/10.32, allocations: 17.75 kB / 4.797 GB, free: 68.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/10.32, allocations: 349.8 kB / 4.797 GB, free: 68.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/10.32, allocations: 335.1 kB / 4.798 GB, free: 68.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/10.33, allocations: 0.7052 MB / 4.798 GB, free: 68.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/10.33, allocations: 464.2 kB / 4.799 GB, free: 68.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/10.33, allocations: 3.125 kB / 4.799 GB, free: 68.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00155/10.33, allocations: 1.201 MB / 4.8 GB, free: 67.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005684/10.33, allocations: 3.387 MB / 4.803 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/10.33, allocations: 18.25 kB / 4.803 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/10.33, allocations: 13.81 kB / 4.803 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/10.33, allocations: 266.9 kB / 4.803 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/10.33, allocations: 14.38 kB / 4.804 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/10.33, allocations: 145 kB / 4.804 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/10.33, allocations: 54.5 kB / 4.804 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/10.33, allocations: 4.594 kB / 4.804 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/10.33, allocations: 1.023 MB / 4.805 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/10.33, allocations: 12.31 kB / 4.805 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/10.33, allocations: 14.72 kB / 4.805 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/10.33, allocations: 256.6 kB / 4.805 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/10.33, allocations: 20.77 kB / 4.805 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/10.33, allocations: 150.3 kB / 4.805 GB, free: 64.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/10.33, allocations: 45.75 kB / 4.805 GB, free: 64.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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.0001997/10.33, allocations: 185.9 kB / 4.805 GB, free: 64.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/10.33, allocations: 180.4 kB / 4.806 GB, free: 64.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/10.34, allocations: 0.999 MB / 4.806 GB, free: 64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/10.34, allocations: 10.44 kB / 4.807 GB, free: 64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/10.34, allocations: 3.5 kB / 4.807 GB, free: 64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/10.34, allocations: 1.072 MB / 4.808 GB, free: 63.53 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/10.34, allocations: 2.715 MB / 4.81 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/10.34, allocations: 4.938 kB / 4.81 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/10.34, allocations: 177.8 kB / 4.81 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/10.34, allocations: 47.36 kB / 4.81 GB, free: 62.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/10.34, allocations: 29.27 kB / 4.81 GB, free: 62.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/10.34, allocations: 1.405 MB / 4.812 GB, free: 61.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/10.34, allocations: 9.344 kB / 4.812 GB, free: 61.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/10.35, allocations: 1.563 MB / 4.813 GB, free: 61.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/10.35, allocations: 336.3 kB / 4.814 GB, free: 61.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/10.35, allocations: 28.47 kB / 4.814 GB, free: 61.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/10.35, allocations: 140 kB / 4.814 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/10.35, allocations: 65.5 kB / 4.814 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/10.35, allocations: 31.36 kB / 4.814 GB, free: 61.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00191/10.35, allocations: 1.005 MB / 4.815 GB, free: 61.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/10.35, allocations: 0 / 4.815 GB, free: 61.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004541/10.36, allocations: 1.27 MB / 4.816 GB, free: 60.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007703/10.36, allocations: 5.854 MB / 4.822 GB, free: 58.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002329/10.37, allocations: 1.564 MB / 4.823 GB, free: 58.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/10.37, allocations: 0 / 4.823 GB, free: 58.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/10.37, allocations: 0.5258 MB / 4.824 GB, free: 58.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/10.37, allocations: 0.7727 MB / 4.825 GB, free: 58.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/10.38, allocations: 3.324 MB / 4.828 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/10.38, allocations: 1.528 MB / 4.829 GB, free: 56.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003376/10.38, allocations: 0.6621 MB / 4.83 GB, free: 56.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/10.38, allocations: 0.7347 MB / 4.831 GB, free: 56.54 MB / 0.7448 GB Notification: Performance of SimCode: time 2.374e-06/10.38, allocations: 0 / 4.831 GB, free: 56.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/10.51, allocations: 97.15 MB / 4.926 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/10.51, allocations: 216.7 kB / 4.926 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.02/15.53, allocations: 7.281 kB / 4.926 GB, free: 39.72 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)