Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.457/2.457, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001525/0.001525, allocations: 180.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001064/0.001064, allocations: 97.17 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.2e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7937, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/1.054, allocations: 153.1 MB / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.055, allocations: 92.56 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1561/1.211, allocations: 33.29 MB / 1.146 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.739e-06/1.211, allocations: 0 / 1.146 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001054/1.211, allocations: 27.92 kB / 1.146 GB, free: 1.855 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004582/1.215, allocations: 1.418 MB / 1.147 GB, free: 400 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.215, allocations: 16.03 kB / 1.147 GB, free: 384 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05977/1.275, allocations: 4.43 MB / 1.151 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/1.281, allocations: 1.453 MB / 1.153 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/1.281, allocations: 24 kB / 1.153 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006373/1.281, allocations: 47.98 kB / 1.153 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004792/1.286, allocations: 1.791 MB / 1.155 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/1.291, allocations: 1.799 MB / 1.156 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.291, allocations: 0 / 1.156 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/1.291, allocations: 4 kB / 1.156 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/1.291, allocations: 19.95 kB / 1.156 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/1.311, allocations: 8.066 MB / 1.164 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/1.316, allocations: 1.7 MB / 1.166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/1.319, allocations: 1.441 MB / 1.167 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.319, allocations: 48.52 kB / 1.167 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.319, allocations: 39.12 kB / 1.167 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.085e-06/1.319, allocations: 7.875 kB / 1.167 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.02194/1.341, allocations: 5.538 MB / 1.173 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.341, allocations: 67.91 kB / 1.173 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/1.344, allocations: 1.024 MB / 1.174 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005861/1.344, allocations: 25.7 kB / 1.174 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/1.345, allocations: 484.3 kB / 1.174 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/1.346, allocations: 232.5 kB / 1.175 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/1.346, allocations: 0 / 1.175 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.346, allocations: 334 kB / 1.175 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.351, allocations: 2.067 MB / 1.177 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/1.357, allocations: 2.236 MB / 1.179 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/1.38, allocations: 4.452 MB / 1.183 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.38, allocations: 0 / 1.183 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.03299/1.413, allocations: 8.162 MB / 1.191 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/1.413, allocations: 96.08 kB / 1.191 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0323/1.446, allocations: 7.207 MB / 1.198 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06327/1.509, allocations: 5.439 MB / 1.204 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01668/1.526, allocations: 0.7996 MB / 1.205 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/1.557, allocations: 5.241 MB / 1.21 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01788/1.575, allocations: 0.9981 MB / 1.211 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006744/1.576, allocations: 67.86 kB / 1.211 GB, free: 14.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.576, allocations: 4 kB / 1.211 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03486/1.611, allocations: 7.477 MB / 1.218 GB, free: 6.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03217/1.643, allocations: 6.968 MB / 1.225 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006145/1.649, allocations: 1.012 MB / 1.226 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/1.664, allocations: 1.053 MB / 1.227 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/1.684, allocations: 7.003 MB / 1.234 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/1.699, allocations: 0.9914 MB / 1.235 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/1.699, allocations: 60.03 kB / 1.235 GB, free: 5.316 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006064/1.7, allocations: 124.6 kB / 1.235 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02147/1.722, allocations: 5.421 MB / 1.24 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.722, allocations: 102.7 kB / 1.24 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/1.74, allocations: 4.731 MB / 1.245 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.74, allocations: 8 kB / 1.245 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.74, allocations: 3.984 kB / 1.245 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.74, allocations: 4 kB / 1.245 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.76, allocations: 6.85 MB / 1.252 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.7185/2.478, allocations: 7.845 MB / 1.259 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005502/2.484, allocations: 419.8 kB / 1.26 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08413/2.568, allocations: 7.431 MB / 1.267 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/2.568, allocations: 30.34 kB / 1.267 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/2.581, allocations: 4.134 MB / 1.271 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/2.581, allocations: 1.031 kB / 1.271 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08665/2.668, allocations: 8.07 MB / 1.279 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/2.67, allocations: 0.5535 MB / 1.279 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/2.67, allocations: 2.141 kB / 1.279 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009698/2.68, allocations: 0.6164 MB / 1.28 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/2.681, allocations: 41.91 kB / 1.28 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003389/2.681, allocations: 43.12 kB / 1.28 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002091/2.683, allocations: 0.7896 MB / 1.281 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.084e-06/2.683, allocations: 4 kB / 1.281 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006184/2.689, allocations: 0.7688 MB / 1.282 GB, free: 235.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.01962/2.709, allocations: 4.682 MB / 1.286 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01811/2.727, allocations: 5.965 MB / 1.292 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/2.727, allocations: 5.281 kB / 1.292 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/2.732, allocations: 1.507 MB / 1.293 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/2.735, allocations: 215.6 kB / 1.294 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009443/2.744, allocations: 2.969 MB / 1.297 GB, free: 230.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/2.745, allocations: 1.33 MB / 1.298 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007241/2.753, allocations: 0.9678 MB / 1.299 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/2.754, allocations: 428.3 kB / 1.299 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.152e-06/2.754, allocations: 0 / 1.299 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/2.928, allocations: 72.14 MB / 1.37 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/2.928, allocations: 160 kB / 1.37 GB, free: 178 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/10.18, allocations: 0 / 1.37 GB, free: 178 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)