Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008033, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009316/0.0009315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 14.84 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003501/0.2242, allocations: 2.823 MB / 0.7902 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2257, allocations: 0.862 MB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.2259, allocations: 8 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.226, allocations: 43.61 kB / 0.791 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.2263, allocations: 142.8 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.2268, allocations: 139.8 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006532/0.2275, allocations: 0.5806 MB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.2278, allocations: 187.4 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.228, allocations: 199.2 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.2283, allocations: 239 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.2284, allocations: 24 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.2285, allocations: 27.94 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.2286, allocations: 87.64 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2287, allocations: 113.4 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.229, allocations: 411 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2291, allocations: 8 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2291, allocations: 4 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2291, allocations: 0 / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001482/0.2306, allocations: 0.7483 MB / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2306, allocations: 8.031 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.951e-05/0.2307, allocations: 86.52 kB / 0.7939 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.2308, allocations: 55.34 kB / 0.794 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.2314, allocations: 338 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.2314, allocations: 32.94 kB / 0.7944 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.2315, allocations: 48 kB / 0.7944 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.2322, allocations: 394.5 kB / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2322, allocations: 0 / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.2323, allocations: 20 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2323, allocations: 12 kB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.2329, allocations: 335.8 kB / 0.7951 GB, free: 3.758 MB / 0.6075 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.002316/0.2352, allocations: 1.509 MB / 0.7966 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.236, allocations: 409.4 kB / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.2364, allocations: 236.8 kB / 0.7972 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.2364, allocations: 4 kB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.2365, allocations: 34.56 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.2365, allocations: 0 / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.006791/0.2433, allocations: 1.817 MB / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.2433, allocations: 55.41 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.2437, allocations: 349.7 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.2438, allocations: 37.7 kB / 0.7995 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2439, allocations: 216.6 kB / 0.7997 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.244, allocations: 137.9 kB / 0.7998 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.2441, allocations: 4 kB / 0.7998 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2442, allocations: 354.8 kB / 0.8001 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2445, allocations: 135.9 kB / 0.8003 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.2448, allocations: 205.9 kB / 0.8005 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2451, allocations: 167.9 kB / 0.8006 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2451, allocations: 0 / 0.8006 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001837/0.247, allocations: 0.7322 MB / 0.8013 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.2471, allocations: 103.9 kB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2471, allocations: 3.984 kB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.2488, allocations: 445 kB / 0.8019 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2489, allocations: 32.03 kB / 0.8019 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.2549, allocations: 3.852 MB / 0.8057 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.2554, allocations: 51.72 kB / 0.8057 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.2555, allocations: 12 kB / 0.8057 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.2555, allocations: 4 kB / 0.8057 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001831/0.2573, allocations: 0.6719 MB / 0.8064 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2573, allocations: 0 / 0.8064 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.2588, allocations: 437 kB / 0.8068 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2589, allocations: 24.11 kB / 0.8068 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.2643, allocations: 3.69 MB / 0.8104 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.2648, allocations: 59.62 kB / 0.8105 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2648, allocations: 8 kB / 0.8105 GB, free: 3.531 MB / 0.6231 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.2651, allocations: 221.8 kB / 0.8107 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.2652, allocations: 51.48 kB / 0.8107 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.2653, allocations: 60.48 kB / 0.8108 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2653, allocations: 4 kB / 0.8108 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2653, allocations: 3.984 kB / 0.8108 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2654, allocations: 0 / 0.8108 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.266, allocations: 0.5018 MB / 0.8113 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.266, allocations: 0 / 0.8113 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.2662, allocations: 27.97 kB / 0.8113 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.2676, allocations: 397 kB / 0.8117 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.2677, allocations: 4 kB / 0.8117 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.2734, allocations: 3.663 MB / 0.8153 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2734, allocations: 0 / 0.8153 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.2753, allocations: 0.8243 MB / 0.8161 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.2754, allocations: 152.4 kB / 0.8162 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.2755, allocations: 8 kB / 0.8162 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.2758, allocations: 23.98 kB / 0.8163 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.2759, allocations: 39.94 kB / 0.8163 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2759, allocations: 8 kB / 0.8163 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002828/0.2762, allocations: 251.2 kB / 0.8165 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2762, allocations: 0 / 0.8165 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001018/0.2773, allocations: 339.4 kB / 0.8169 GB, free: 12.75 MB / 0.6387 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 (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.2794, allocations: 1.364 MB / 0.8182 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.2821, allocations: 1.186 MB / 0.8194 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2821, allocations: 0 / 0.8194 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2831, allocations: 0.5093 MB / 0.8199 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.2838, allocations: 113.3 kB / 0.82 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.289, allocations: 2.756 MB / 0.8227 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.2896, allocations: 0.8437 MB / 0.8235 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.2897, allocations: 27.3 kB / 0.8235 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.2899, allocations: 135.4 kB / 0.8236 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.2899, allocations: 0 / 0.8236 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.3223, allocations: 15.61 MB / 0.8389 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.3225, allocations: 226.8 kB / 0.8391 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.556, allocations: 0 / 0.8391 GB, free: 6.145 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) Environment - environmentSimulation: