Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 89.73 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.00162/0.00162, 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.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7229, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00953/0.7325, allocations: 7.224 MB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2097/0.9422, allocations: 141.7 MB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.9444, allocations: 35.75 kB / 1.168 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005703/0.9501, allocations: 1.65 MB / 1.169 GB, free: 9.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.9542, allocations: 1.065 MB / 1.171 GB, free: 7.969 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.9583, allocations: 1.065 MB / 1.172 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007369/0.9657, allocations: 4.934 MB / 1.176 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.9683, allocations: 0.8715 MB / 1.177 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.9721, allocations: 1.382 MB / 1.179 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.9753, allocations: 1.261 MB / 1.18 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009404/0.9763, allocations: 68 kB / 1.18 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.9814, allocations: 1.868 MB / 1.182 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003551/0.985, allocations: 2.672 MB / 1.184 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.9865, allocations: 488.3 kB / 1.185 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007943/0.9944, allocations: 3.858 MB / 1.189 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9945, allocations: 0 / 1.189 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9945, allocations: 0 / 1.189 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001975/0.9947, allocations: 0 / 1.189 GB, free: 5.453 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.008623/1.003, allocations: 2.875 MB / 1.191 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.003, allocations: 8.562 kB / 1.191 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.006, allocations: 376.3 kB / 1.192 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.017, allocations: 7.337 MB / 1.199 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/1.017, allocations: 138.9 kB / 1.199 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006923/1.017, allocations: 184 kB / 1.199 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/1.022, allocations: 1.784 MB / 1.201 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/1.022, allocations: 3.938 kB / 1.201 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/1.023, allocations: 68 kB / 1.201 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/1.023, allocations: 36 kB / 1.201 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/1.026, allocations: 1.81 MB / 1.203 GB, free: 6.617 MB / 0.9512 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.01757/1.044, allocations: 10.73 MB / 1.213 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/1.048, allocations: 1.562 MB / 1.215 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.049, allocations: 0.856 MB / 1.216 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/1.049, allocations: 45.02 kB / 1.216 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/1.051, allocations: 1.027 MB / 1.217 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=117): time 3.867e-06/1.051, allocations: 0 / 1.217 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=117): time 0.006857/1.058, allocations: 2.955 MB / 1.22 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002743/1.058, allocations: 342.5 kB / 1.22 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01799/1.076, allocations: 11.58 MB / 1.231 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0006672/1.077, allocations: 69.64 kB / 1.231 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.079, allocations: 0.9685 MB / 1.232 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/1.079, allocations: 386.5 kB / 1.233 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/1.08, allocations: 48 kB / 1.233 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003371/1.08, allocations: 406.6 kB / 1.233 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007256/1.088, allocations: 6.878 MB / 1.24 GB, free: 396 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007357/1.095, allocations: 7.211 MB / 1.247 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/1.103, allocations: 7.199 MB / 1.254 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/1.103, allocations: 7.953 kB / 1.254 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.6762/1.779, allocations: 14.84 MB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002874/1.779, allocations: 167.2 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.779, allocations: 7.328 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/1.78, allocations: 94.5 kB / 1.269 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/1.782, allocations: 494.7 kB / 1.269 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.784, allocations: 1.541 MB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.787, allocations: 261.1 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006651/1.787, allocations: 115.6 kB / 1.271 GB, free: 223.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 1 * 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.003075/1.79, allocations: 1.556 MB / 1.272 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/1.791, allocations: 208.3 kB / 1.273 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005023/1.796, allocations: 2.612 MB / 1.275 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.796, allocations: 15.45 kB / 1.275 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.796, allocations: 0 / 1.275 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.796, allocations: 9.812 kB / 1.275 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/1.799, allocations: 1.784 MB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.799, allocations: 0 / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/1.8, allocations: 190 kB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/1.8, allocations: 86 kB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.8, allocations: 35.11 kB / 1.277 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/1.802, allocations: 1.536 MB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.802, allocations: 8.484 kB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.806, allocations: 2.436 MB / 1.281 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/1.807, allocations: 0.5546 MB / 1.282 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/1.807, allocations: 32.61 kB / 1.282 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/1.808, allocations: 104.2 kB / 1.282 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.808, allocations: 98.34 kB / 1.282 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.808, allocations: 62.05 kB / 1.282 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005586/1.814, allocations: 7.256 MB / 1.289 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.91e-07/1.814, allocations: 0 / 1.289 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003745/1.818, allocations: 1.157 MB / 1.29 GB, free: 211.6 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.002551/1.82, allocations: 0.9473 MB / 1.291 GB, free: 211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008185/1.828, allocations: 9.587 MB / 1.3 GB, free: 202 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.829, allocations: 0 / 1.3 GB, free: 202 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.83, allocations: 1.735 MB / 1.302 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.833, allocations: 405.8 kB / 1.303 GB, free: 200.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.846, allocations: 12.51 MB / 1.315 GB, free: 188 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]