Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 91.61 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.001657/0.001657, 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.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.07/3.07, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 10 kB / 0.9021 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007929/0.383, allocations: 6.096 MB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.5562, allocations: 140.7 MB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5575, allocations: 23.88 kB / 1.201 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.5619, allocations: 1.522 MB / 1.203 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.5648, allocations: 0.7553 MB / 1.204 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.5672, allocations: 0.7335 MB / 1.204 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.5709, allocations: 2.398 MB / 1.207 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.5726, allocations: 0.7287 MB / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5742, allocations: 0.6768 MB / 1.208 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.5757, allocations: 0.7194 MB / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.576, allocations: 40 kB / 1.209 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.5807, allocations: 1.849 MB / 1.211 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.5819, allocations: 0.9981 MB / 1.212 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006625/0.5826, allocations: 332.7 kB / 1.212 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.5879, allocations: 2.701 MB / 1.215 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5879, allocations: 0 / 1.215 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5879, allocations: 0 / 1.215 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001144/0.5881, allocations: 4 kB / 1.215 GB, free: 4.551 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006224/0.5943, allocations: 2.044 MB / 1.217 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5943, allocations: 8.031 kB / 1.217 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.5957, allocations: 285.4 kB / 1.217 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.5996, allocations: 2.862 MB / 1.22 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.5998, allocations: 106.5 kB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5999, allocations: 132 kB / 1.22 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.6024, allocations: 1.353 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.6024, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.6025, allocations: 55.95 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.6025, allocations: 32 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.6049, allocations: 1.493 MB / 1.223 GB, free: 12 MB / 0.9825 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.007679/0.6126, allocations: 5.664 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.6146, allocations: 1.119 MB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.6154, allocations: 439.7 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.6155, allocations: 37.09 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.6166, allocations: 0.6529 MB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=100): time 2.425e-06/0.6166, allocations: 0 / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100): time 0.003757/0.6203, allocations: 1.66 MB / 1.232 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.6205, allocations: 196.9 kB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.6253, allocations: 4.098 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.6255, allocations: 57.7 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.6262, allocations: 0.6414 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.6265, allocations: 331.3 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.6266, allocations: 27.94 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6267, allocations: 357.9 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.6289, allocations: 2.209 MB / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.6313, allocations: 2.344 MB / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.6337, allocations: 2.271 MB / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6337, allocations: 0 / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00581/0.6395, allocations: 4.913 MB / 1.249 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.6396, allocations: 8 kB / 1.249 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6396, allocations: 4.062 kB / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.6402, allocations: 88.72 kB / 1.249 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6413, allocations: 275.6 kB / 1.249 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6694/1.311, allocations: 1.523 MB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.312, allocations: 161.6 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/1.312, allocations: 60.84 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (159): * Single equations (assignments): 158 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.314, allocations: 0.6243 MB / 1.252 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/1.314, allocations: 136 kB / 1.252 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.317, allocations: 1.49 MB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.317, allocations: 15.59 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.317, allocations: 0 / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.317, allocations: 11.22 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.319, allocations: 1.304 MB / 1.255 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.319, allocations: 0 / 1.255 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/1.32, allocations: 187 kB / 1.255 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/1.32, allocations: 87.92 kB / 1.255 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/1.321, allocations: 29.16 kB / 1.255 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.322, allocations: 1.542 MB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.322, allocations: 6.859 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/1.324, allocations: 1.27 MB / 1.258 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/1.325, allocations: 395.8 kB / 1.258 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.325, allocations: 31.03 kB / 1.258 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.326, allocations: 95.73 kB / 1.258 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.326, allocations: 94.03 kB / 1.258 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/1.326, allocations: 50.3 kB / 1.258 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002478/1.329, allocations: 2.624 MB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.329, allocations: 3.25 kB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002274/1.331, allocations: 0.9346 MB / 1.262 GB, free: 184.2 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/1.333, allocations: 0.9366 MB / 1.263 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004895/1.338, allocations: 3 MB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.338, allocations: 0.875 kB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.34, allocations: 0.664 MB / 1.266 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.342, allocations: 334.8 kB / 1.267 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.353, allocations: 5.671 MB / 1.272 GB, free: 181.5 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]