Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 179.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009028/0.0009027, allocations: 94.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 10.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.193, allocations: 405.1 MB / 1.296 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.193, allocations: 115.3 kB / 1.296 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/2.34, allocations: 352.4 MB / 1.64 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.003e-06/2.34, allocations: 0 / 1.64 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.612e-05/2.34, allocations: 27.98 kB / 1.64 GB, free: 111.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002806/2.343, allocations: 1.651 MB / 1.642 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/2.343, allocations: 12.03 kB / 1.642 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/2.343, allocations: 102.5 kB / 1.642 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/2.344, allocations: 134.5 kB / 1.642 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/2.345, allocations: 1.179 MB / 1.643 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/2.346, allocations: 49.31 kB / 1.643 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/2.346, allocations: 71.91 kB / 1.643 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/2.347, allocations: 0.7941 MB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/2.347, allocations: 4 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/2.347, allocations: 20 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/2.347, allocations: 23.89 kB / 1.644 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/2.348, allocations: 0.6181 MB / 1.645 GB, free: 107.1 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00343/2.351, allocations: 3.114 MB / 1.648 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/2.352, allocations: 459.4 kB / 1.648 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005773/2.352, allocations: 0.7717 MB / 1.649 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/2.353, allocations: 34.84 kB / 1.649 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/2.353, allocations: 0 / 1.649 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001415/2.354, allocations: 1.239 MB / 1.65 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/2.354, allocations: 144.7 kB / 1.65 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/2.355, allocations: 0.9722 MB / 1.651 GB, free: 99.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/2.355, allocations: 37.7 kB / 1.651 GB, free: 99.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/2.355, allocations: 484.5 kB / 1.652 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/2.356, allocations: 126.2 kB / 1.652 GB, free: 99.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/2.356, allocations: 8 kB / 1.652 GB, free: 99.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/2.356, allocations: 326 kB / 1.652 GB, free: 98.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/2.356, allocations: 332.8 kB / 1.652 GB, free: 98.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/2.357, allocations: 452 kB / 1.653 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/2.357, allocations: 0.5336 MB / 1.653 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/2.357, allocations: 0 / 1.653 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001226/2.358, allocations: 1.076 MB / 1.654 GB, free: 96.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/2.358, allocations: 0.8816 MB / 1.655 GB, free: 95.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/2.358, allocations: 7.938 kB / 1.655 GB, free: 95.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/2.359, allocations: 4 kB / 1.655 GB, free: 95.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/2.359, allocations: 83.89 kB / 1.655 GB, free: 95.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/2.359, allocations: 4 kB / 1.655 GB, free: 95.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/2.36, allocations: 111.2 kB / 1.655 GB, free: 95.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/2.36, allocations: 28 kB / 1.656 GB, free: 95.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/2.36, allocations: 4 kB / 1.656 GB, free: 95.22 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/2.361, allocations: 1.072 MB / 1.657 GB, free: 94.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/2.361, allocations: 8.172 kB / 1.657 GB, free: 94.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/2.361, allocations: 8 kB / 1.657 GB, free: 94.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/2.361, allocations: 95.81 kB / 1.657 GB, free: 94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/2.361, allocations: 4 kB / 1.657 GB, free: 94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/2.362, allocations: 91.39 kB / 1.657 GB, free: 93.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/2.362, allocations: 31.98 kB / 1.657 GB, free: 93.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * 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.0006003/2.362, allocations: 470 kB / 1.657 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/2.363, allocations: 102.8 kB / 1.657 GB, free: 93.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/2.364, allocations: 0.913 MB / 1.658 GB, free: 92.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/2.364, allocations: 11.98 kB / 1.658 GB, free: 92.33 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/2.364, allocations: 8 kB / 1.658 GB, free: 92.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009069/2.365, allocations: 0.9873 MB / 1.659 GB, free: 91.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/2.367, allocations: 2.116 MB / 1.661 GB, free: 89.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/2.367, allocations: 3.938 kB / 1.661 GB, free: 89.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/2.368, allocations: 71.89 kB / 1.661 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/2.368, allocations: 4 kB / 1.661 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/2.368, allocations: 12.25 kB / 1.661 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/2.368, allocations: 8 kB / 1.661 GB, free: 88.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.368, allocations: 7.938 kB / 1.661 GB, free: 88.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/2.369, allocations: 1.523 MB / 1.663 GB, free: 87.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/2.37, allocations: 295.6 kB / 1.663 GB, free: 86.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/2.37, allocations: 20 kB / 1.663 GB, free: 86.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/2.37, allocations: 47.91 kB / 1.663 GB, free: 86.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/2.37, allocations: 51.89 kB / 1.663 GB, free: 86.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/2.37, allocations: 20 kB / 1.663 GB, free: 86.85 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009048/2.371, allocations: 0.7845 MB / 1.664 GB, free: 86.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/2.371, allocations: 0 / 1.664 GB, free: 86.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001625/2.373, allocations: 0.581 MB / 1.665 GB, free: 85.47 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.003095/2.376, allocations: 3.247 MB / 1.668 GB, free: 82.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001798/2.378, allocations: 1.912 MB / 1.67 GB, free: 80.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/2.378, allocations: 0 / 1.67 GB, free: 80.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/2.378, allocations: 0.5497 MB / 1.67 GB, free: 79.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/2.381, allocations: 0.5056 MB / 1.671 GB, free: 78.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/2.384, allocations: 3.982 MB / 1.675 GB, free: 74.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/2.385, allocations: 1.095 MB / 1.676 GB, free: 73.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007291/2.386, allocations: 198.4 kB / 1.676 GB, free: 73.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/2.386, allocations: 379.3 kB / 1.676 GB, free: 73.21 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/2.386, allocations: 0 / 1.676 GB, free: 73.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05251/2.438, allocations: 36.33 MB / 1.712 GB, free: 37.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/2.439, allocations: 264.6 kB / 1.712 GB, free: 36.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/5.548, allocations: 0 / 1.712 GB, free: 36.93 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)