Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009692/0.0009691, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00084/0.0008401, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.682/2.682, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7204, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01254/0.733, allocations: 11.63 MB / 0.9658 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.9168, allocations: 145.3 MB / 1.108 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.9213, allocations: 63.62 kB / 1.108 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007425/0.9287, allocations: 2.031 MB / 1.11 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006921/0.9357, allocations: 1.474 MB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/0.9424, allocations: 1.747 MB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.9532, allocations: 7.28 MB / 1.12 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004515/0.9578, allocations: 1.693 MB / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/0.9629, allocations: 2.116 MB / 1.124 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004549/0.9674, allocations: 2.101 MB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.969, allocations: 164 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/0.9749, allocations: 2.181 MB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.9787, allocations: 3.018 MB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.981, allocations: 0.8157 MB / 1.132 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.9914, allocations: 6.305 MB / 1.138 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.9914, allocations: 0 / 1.138 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.594e-06/0.9914, allocations: 7.875 kB / 1.138 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003404/0.9918, allocations: 0 / 1.138 GB, free: 3.07 MB / 0.8887 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.01244/1.004, allocations: 4.792 MB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.004, allocations: 12.03 kB / 1.143 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02601/1.03, allocations: 4.441 MB / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03565/1.066, allocations: 11.61 MB / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/1.066, allocations: 229.2 kB / 1.159 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/1.068, allocations: 300 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/1.081, allocations: 4.438 MB / 1.163 GB, free: 8.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/1.081, allocations: 3.938 kB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007576/1.082, allocations: 112 kB / 1.163 GB, free: 8.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/1.082, allocations: 64 kB / 1.163 GB, free: 8.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/1.093, allocations: 4.024 MB / 1.167 GB, free: 4.754 MB / 0.92 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.03377/1.126, allocations: 20.19 MB / 1.187 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009684/1.136, allocations: 3.788 MB / 1.191 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007031/1.143, allocations: 2.675 MB / 1.193 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006474/1.144, allocations: 438.4 kB / 1.194 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007865/1.152, allocations: 2.948 MB / 1.197 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=213): time 6.773e-06/1.152, allocations: 0 / 1.197 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=213): time 0.04976/1.202, allocations: 13.56 MB / 1.21 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000304/1.202, allocations: 377.2 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01819/1.22, allocations: 12.9 MB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.221, allocations: 81.7 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002498/1.224, allocations: 1.663 MB / 1.224 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.225, allocations: 0.7047 MB / 1.225 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.226, allocations: 64 kB / 1.225 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003736/1.227, allocations: 440.6 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01566/1.242, allocations: 9.455 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01745/1.26, allocations: 9.935 MB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.692/1.952, allocations: 9.472 MB / 1.254 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/1.952, allocations: 4.031 kB / 1.254 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.04215/1.994, allocations: 21.69 MB / 1.275 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/1.995, allocations: 477.7 kB / 1.275 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02476/2.019, allocations: 12.78 MB / 1.288 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07535/2.095, allocations: 10.88 MB / 1.299 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/2.1, allocations: 0.9038 MB / 1.299 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009878/2.11, allocations: 7.878 MB / 1.307 GB, free: 239.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/2.118, allocations: 0.6866 MB / 1.308 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/2.119, allocations: 194.6 kB / 1.308 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/2.119, allocations: 4 kB / 1.308 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02995/2.149, allocations: 20.78 MB / 1.328 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02553/2.174, allocations: 12.55 MB / 1.341 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/2.178, allocations: 1.17 MB / 1.342 GB, free: 204 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/2.184, allocations: 1.001 MB / 1.343 GB, free: 203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/2.197, allocations: 11.69 MB / 1.354 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006692/2.204, allocations: 0.6453 MB / 1.355 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/2.205, allocations: 187.5 kB / 1.355 GB, free: 190.1 MB / 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.003906/2.209, allocations: 2.026 MB / 1.357 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.21, allocations: 355.4 kB / 1.357 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/2.231, allocations: 8.048 MB / 1.365 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/2.231, allocations: 20 kB / 1.365 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/2.231, allocations: 3.984 kB / 1.365 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-05/2.231, allocations: 7.969 kB / 1.365 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/2.238, allocations: 4.641 MB / 1.37 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01603/2.254, allocations: 6.07 MB / 1.376 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/2.257, allocations: 423.4 kB / 1.376 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09208/2.349, allocations: 15.68 MB / 1.391 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007917/2.35, allocations: 87.92 kB / 1.391 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/2.36, allocations: 7.986 MB / 1.399 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.36, allocations: 0 / 1.399 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/2.377, allocations: 6.549 MB / 1.406 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/2.379, allocations: 1.077 MB / 1.407 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/2.381, allocations: 51.98 kB / 1.407 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/2.385, allocations: 359.5 kB / 1.407 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/2.385, allocations: 157.8 kB / 1.407 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003792/2.386, allocations: 111.9 kB / 1.407 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007164/2.393, allocations: 8.169 MB / 1.415 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/2.393, allocations: 0 / 1.415 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009027/2.402, allocations: 2.603 MB / 1.418 GB, free: 125 MB / 0.9981 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.0036/2.406, allocations: 1.032 MB / 1.419 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03944/2.445, allocations: 25.88 MB / 1.444 GB, free: 98.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.445, allocations: 8.812 kB / 1.444 GB, free: 98.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008016/2.453, allocations: 3.803 MB / 1.448 GB, free: 94.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/2.458, allocations: 0.7331 MB / 1.448 GB, free: 93.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/2.482, allocations: 17.61 MB / 1.466 GB, free: 76.08 MB / 0.9981 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]