Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009402, allocations: 91.45 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.001476/0.001476, 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 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.883/2.883, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 7.812 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4194, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01536/0.4349, allocations: 12.72 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.614, allocations: 145.4 MB / 1.212 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.6178, allocations: 59.69 kB / 1.213 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006643/0.6244, allocations: 2.058 MB / 1.215 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.6304, allocations: 1.578 MB / 1.216 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005974/0.6364, allocations: 1.747 MB / 1.218 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.6473, allocations: 7.473 MB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/0.6515, allocations: 1.643 MB / 1.227 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.6567, allocations: 2.148 MB / 1.229 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.6616, allocations: 2.132 MB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.663, allocations: 160 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.6691, allocations: 2.188 MB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003897/0.673, allocations: 3.014 MB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.6752, allocations: 0.8352 MB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009737/0.685, allocations: 6.348 MB / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.685, allocations: 0 / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.685, allocations: 0 / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003013/0.6853, allocations: 0 / 1.243 GB, free: 7.25 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.01175/0.6971, allocations: 4.835 MB / 1.248 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6972, allocations: 8.031 kB / 1.248 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7002/1.397, allocations: 4.428 MB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03972/1.437, allocations: 11.61 MB / 1.263 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/1.438, allocations: 225.2 kB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/1.44, allocations: 304.6 kB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/1.456, allocations: 4.437 MB / 1.268 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/1.456, allocations: 7.141 kB / 1.268 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/1.456, allocations: 109 kB / 1.268 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-05/1.456, allocations: 65.52 kB / 1.269 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/1.47, allocations: 4.027 MB / 1.272 GB, free: 182.5 MB / 0.9981 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.03898/1.509, allocations: 20.58 MB / 1.293 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/1.518, allocations: 3.797 MB / 1.296 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00623/1.524, allocations: 2.667 MB / 1.299 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/1.525, allocations: 436.8 kB / 1.299 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007125/1.532, allocations: 2.96 MB / 1.302 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 5.661e-06/1.532, allocations: 1.969 kB / 1.302 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.04278/1.575, allocations: 13.56 MB / 1.315 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/1.575, allocations: 381.2 kB / 1.316 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/1.59, allocations: 12.89 MB / 1.328 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.592, allocations: 85.7 kB / 1.328 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.594, allocations: 1.658 MB / 1.33 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.595, allocations: 0.7056 MB / 1.331 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/1.596, allocations: 64.75 kB / 1.331 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.596, allocations: 440.6 kB / 1.331 GB, free: 134 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01373/1.61, allocations: 9.455 MB / 1.34 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/1.624, allocations: 9.943 MB / 1.35 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.638, allocations: 9.485 MB / 1.359 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/1.639, allocations: 0 / 1.359 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.03768/1.676, allocations: 21.7 MB / 1.381 GB, free: 83.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004268/1.677, allocations: 471.2 kB / 1.381 GB, free: 82.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02709/1.704, allocations: 12.8 MB / 1.394 GB, free: 69.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07773/1.782, allocations: 10.87 MB / 1.404 GB, free: 58.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005919/1.788, allocations: 0.8998 MB / 1.405 GB, free: 57.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/1.799, allocations: 7.898 MB / 1.413 GB, free: 49.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/1.807, allocations: 0.6903 MB / 1.413 GB, free: 48.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.808, allocations: 199.4 kB / 1.414 GB, free: 48.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.808, allocations: 4 kB / 1.414 GB, free: 48.75 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03727/1.846, allocations: 20.78 MB / 1.434 GB, free: 27.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02641/1.872, allocations: 12.55 MB / 1.446 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/1.875, allocations: 1.178 MB / 1.447 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006778/1.882, allocations: 0.9936 MB / 1.448 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.896, allocations: 11.7 MB / 1.46 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007323/1.903, allocations: 0.6444 MB / 1.46 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.905, allocations: 191 kB / 1.461 GB, free: 84 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004694/1.909, allocations: 2.02 MB / 1.463 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.911, allocations: 355.4 kB / 1.463 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/1.934, allocations: 8.035 MB / 1.471 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/1.934, allocations: 20 kB / 1.471 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.934, allocations: 0 / 1.471 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/1.934, allocations: 15.95 kB / 1.471 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007617/1.942, allocations: 4.653 MB / 1.475 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01675/1.958, allocations: 6.07 MB / 1.481 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.961, allocations: 426.9 kB / 1.482 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09939/2.061, allocations: 15.68 MB / 1.497 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.062, allocations: 83.92 kB / 1.497 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/2.076, allocations: 7.969 MB / 1.505 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.076, allocations: 0 / 1.505 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/2.097, allocations: 6.554 MB / 1.511 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/2.101, allocations: 1.077 MB / 1.512 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00228/2.103, allocations: 43.98 kB / 1.512 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00538/2.109, allocations: 375.5 kB / 1.513 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006837/2.109, allocations: 157.7 kB / 1.513 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006171/2.11, allocations: 119.9 kB / 1.513 GB, free: 9.691 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.01041/2.12, allocations: 8.161 MB / 1.521 GB, free: 1.516 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/2.121, allocations: 3.938 kB / 1.521 GB, free: 1.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01212/2.133, allocations: 2.656 MB / 1.523 GB, free: 14.94 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004449/2.137, allocations: 1.029 MB / 1.524 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.04827/2.185, allocations: 25.9 MB / 1.55 GB, free: 4.191 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.185, allocations: 0 / 1.55 GB, free: 4.191 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/2.196, allocations: 3.805 MB / 1.553 GB, free: 360 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007236/2.203, allocations: 0.7509 MB / 1.554 GB, free: 15.6 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/2.241, allocations: 17.44 MB / 1.571 GB, free: 14.12 MB / 1.123 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]