Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.CenterOfGlass,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001704/0.001705, allocations: 184.9 kB / 366.7 MB, free: 1.684 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.814/1.814, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008481/0.0008483, allocations: 99.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.586e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7528/0.7528, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.975, allocations: 154.5 MB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/0.9755, allocations: 96.55 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1024/1.078, allocations: 33.65 MB / 1.157 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.713e-06/1.078, allocations: 0 / 1.157 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001349/1.078, allocations: 20 kB / 1.157 GB, free: 9.855 MB / 0.7605 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.00408/1.082, allocations: 1.423 MB / 1.159 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.082, allocations: 19.67 kB / 1.159 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/1.113, allocations: 4.427 MB / 1.163 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/1.117, allocations: 1.449 MB / 1.164 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/1.117, allocations: 20 kB / 1.164 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006779/1.118, allocations: 48 kB / 1.164 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003293/1.121, allocations: 1.788 MB / 1.166 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/1.124, allocations: 1.807 MB / 1.168 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.124, allocations: 0 / 1.168 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.125, allocations: 0 / 1.168 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/1.125, allocations: 16 kB / 1.168 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/1.137, allocations: 8.069 MB / 1.176 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.14, allocations: 1.711 MB / 1.177 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/1.141, allocations: 1.44 MB / 1.179 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.142, allocations: 52.45 kB / 1.179 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.142, allocations: 43.06 kB / 1.179 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/1.142, allocations: 4 kB / 1.179 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.01267/1.154, allocations: 5.534 MB / 1.184 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.155, allocations: 63.95 kB / 1.184 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.157, allocations: 1.019 MB / 1.185 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003259/1.157, allocations: 29.7 kB / 1.185 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/1.158, allocations: 488.2 kB / 1.186 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/1.158, allocations: 228.5 kB / 1.186 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.158, allocations: 4 kB / 1.186 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.158, allocations: 333.9 kB / 1.186 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/1.161, allocations: 2.078 MB / 1.188 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/1.164, allocations: 2.23 MB / 1.191 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.177, allocations: 4.452 MB / 1.195 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.177, allocations: 0 / 1.195 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02046/1.198, allocations: 8.162 MB / 1.203 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/1.198, allocations: 104.1 kB / 1.203 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01985/1.218, allocations: 7.211 MB / 1.21 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02836/1.246, allocations: 5.431 MB / 1.215 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005516/1.252, allocations: 0.7918 MB / 1.216 GB, free: 12.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.263, allocations: 5.245 MB / 1.221 GB, free: 7.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008054/1.271, allocations: 0.9942 MB / 1.222 GB, free: 6.094 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/1.271, allocations: 59.92 kB / 1.222 GB, free: 6.035 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.271, allocations: 4 kB / 1.222 GB, free: 6.031 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01956/1.291, allocations: 7.484 MB / 1.23 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01766/1.309, allocations: 6.978 MB / 1.236 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/1.312, allocations: 1.011 MB / 1.237 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007453/1.32, allocations: 1.061 MB / 1.239 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.331, allocations: 6.993 MB / 1.245 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007905/1.339, allocations: 0.9943 MB / 1.246 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/1.34, allocations: 67.86 kB / 1.246 GB, free: 13.3 MB / 0.8542 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.0007725/1.341, allocations: 110.6 kB / 1.246 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01246/1.353, allocations: 5.431 MB / 1.252 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/1.354, allocations: 102.7 kB / 1.252 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.364, allocations: 4.734 MB / 1.257 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.364, allocations: 4 kB / 1.257 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.364, allocations: 4 kB / 1.257 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.364, allocations: 3.984 kB / 1.257 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6372/2.001, allocations: 6.84 MB / 1.263 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04546/2.047, allocations: 7.818 MB / 1.271 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002903/2.05, allocations: 415.8 kB / 1.271 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04553/2.095, allocations: 7.436 MB / 1.278 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/2.096, allocations: 28.44 kB / 1.279 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00764/2.103, allocations: 4.136 MB / 1.283 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/2.103, allocations: 1.094 kB / 1.283 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04492/2.148, allocations: 8.044 MB / 1.29 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/2.15, allocations: 0.5546 MB / 1.291 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/2.15, allocations: 0 / 1.291 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004897/2.155, allocations: 0.616 MB / 1.292 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/2.155, allocations: 49.53 kB / 1.292 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/2.156, allocations: 44.33 kB / 1.292 GB, free: 233 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001101/2.157, allocations: 0.7932 MB / 1.292 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/2.157, allocations: 0 / 1.292 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002479/2.159, allocations: 0.7623 MB / 1.293 GB, free: 232.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.007939/2.167, allocations: 4.684 MB / 1.298 GB, free: 230.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0111/2.178, allocations: 5.961 MB / 1.304 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.178, allocations: 4 kB / 1.304 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/2.181, allocations: 1.517 MB / 1.305 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/2.182, allocations: 221.6 kB / 1.305 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/2.189, allocations: 2.971 MB / 1.308 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/2.19, allocations: 1.331 MB / 1.309 GB, free: 226 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004116/2.194, allocations: 0.9544 MB / 1.31 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/2.195, allocations: 432.6 kB / 1.311 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.084e-06/2.195, allocations: 0 / 1.311 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/2.299, allocations: 72.21 MB / 1.381 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.299, allocations: 153 kB / 1.381 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.304/7.603, allocations: 3.938 kB / 1.381 GB, free: 165.2 MB / 0.8542 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)