Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 188.3 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.6366 GB, free: 9.578 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008599/0.0008598, allocations: 96.59 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003335, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.646/0.8692, allocations: 142.8 MB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.8695, allocations: 91.5 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008333/0.8778, allocations: 3.261 MB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8778, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8779, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004792/0.8783, allocations: 433.6 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8784, allocations: 12.02 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.8784, allocations: 38.56 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.8785, allocations: 13.97 kB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.8787, allocations: 201.4 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8787, allocations: 8 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.8787, allocations: 10.05 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.8789, allocations: 96.45 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.879, allocations: 0 / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.879, allocations: 0 / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.879, allocations: 9.188 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.8792, allocations: 75.08 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.8797, allocations: 400.7 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.88, allocations: 61.08 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.88, allocations: 2.859 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.88, allocations: 35.19 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.88, allocations: 4 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000363/0.8804, allocations: 110.4 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.8804, allocations: 51.41 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.8805, allocations: 144.1 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.8805, allocations: 25.7 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.8806, allocations: 107.9 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.8806, allocations: 7.906 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.8806, allocations: 4 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.8807, allocations: 318.3 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.8808, allocations: 27.47 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.8808, allocations: 22.84 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.8809, allocations: 31.22 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8809, allocations: 0 / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002008/0.8812, allocations: 99.66 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.8812, allocations: 99.77 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8812, allocations: 3.422 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8812, allocations: 0 / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.8813, allocations: 21 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8814, allocations: 0 / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.8814, allocations: 11.94 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.8814, allocations: 3.328 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.8815, allocations: 4 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001701/0.8816, allocations: 62.22 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.8816, allocations: 0 / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-06/0.8816, allocations: 0.6562 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.8817, allocations: 19.72 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.8817, allocations: 4.578 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.8818, allocations: 15.38 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.8818, allocations: 0.8125 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.035e-05/0.8819, allocations: 193.1 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.8819, allocations: 7.906 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.8822, allocations: 96.38 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8822, allocations: 0 / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8822, allocations: 7.953 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.8822, allocations: 0 / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.8824, allocations: 183.9 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.8824, allocations: 0.5625 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.8824, allocations: 19.36 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.8824, allocations: 0 / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.8825, allocations: 0 / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8825, allocations: 1.531 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8825, allocations: 0 / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.8827, allocations: 191.2 kB / 1.134 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.8827, allocations: 92.58 kB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8827, allocations: 0 / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.8828, allocations: 12.05 kB / 1.134 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.8829, allocations: 4 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.8829, allocations: 0 / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.883, allocations: 118 kB / 1.135 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.883, allocations: 4.688 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003036/0.8833, allocations: 51.08 kB / 1.135 GB, free: 26.76 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0004383/0.8837, allocations: 0.7185 MB / 1.135 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.884, allocations: 93.75 kB / 1.135 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8841, allocations: 0 / 1.135 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.8841, allocations: 19.52 kB / 1.135 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.8844, allocations: 30.05 kB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.8854, allocations: 0.6723 MB / 1.136 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.8856, allocations: 0.6988 MB / 1.137 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.251e-05/0.8856, allocations: 10.75 kB / 1.137 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.8857, allocations: 23.44 kB / 1.137 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.8857, allocations: 0 / 1.137 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.8993, allocations: 2.34 MB / 1.139 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.8995, allocations: 199.7 kB / 1.139 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.546, allocations: 3.938 kB / 1.139 GB, free: 23.01 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)