Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001076/0.001076, allocations: 91.69 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.001387/0.001387, 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.316 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.777/2.777, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004479, allocations: 12 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.845, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.0071/0.8521, allocations: 6.121 MB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1755/1.028, allocations: 140.7 MB / 1.166 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/1.029, allocations: 23.88 kB / 1.166 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005063/1.034, allocations: 1.53 MB / 1.167 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/1.038, allocations: 0.75 MB / 1.168 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/1.04, allocations: 0.7397 MB / 1.169 GB, free: 9.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003445/1.044, allocations: 2.398 MB / 1.171 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.045, allocations: 0.7211 MB / 1.172 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/1.046, allocations: 0.6729 MB / 1.172 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/1.048, allocations: 0.7211 MB / 1.173 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/1.048, allocations: 40 kB / 1.173 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/1.052, allocations: 1.853 MB / 1.175 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.053, allocations: 0.9981 MB / 1.176 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/1.054, allocations: 332.8 kB / 1.176 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/1.058, allocations: 2.708 MB / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.058, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/1.058, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.965e-05/1.058, allocations: 0 / 1.179 GB, free: 15.3 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004473/1.063, allocations: 2.044 MB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.063, allocations: 8.562 kB / 1.181 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.064, allocations: 281.4 kB / 1.181 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/1.068, allocations: 2.866 MB / 1.184 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/1.068, allocations: 98.55 kB / 1.184 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.068, allocations: 136 kB / 1.184 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/1.071, allocations: 1.356 MB / 1.186 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.071, allocations: 3.938 kB / 1.186 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.071, allocations: 56 kB / 1.186 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/1.071, allocations: 35.95 kB / 1.186 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/1.073, allocations: 1.493 MB / 1.187 GB, free: 6.75 MB / 0.9356 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.008418/1.082, allocations: 5.643 MB / 1.193 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/1.084, allocations: 1.127 MB / 1.194 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/1.085, allocations: 443.7 kB / 1.194 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.554e-05/1.085, allocations: 37.09 kB / 1.194 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.086, allocations: 0.6683 MB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=100): time 2.374e-06/1.086, allocations: 0 / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100): time 0.003954/1.09, allocations: 1.649 MB / 1.196 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.09, allocations: 200.9 kB / 1.197 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/1.095, allocations: 4.094 MB / 1.201 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/1.096, allocations: 45.7 kB / 1.201 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007067/1.096, allocations: 0.6647 MB / 1.201 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/1.097, allocations: 331.3 kB / 1.202 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/1.097, allocations: 24 kB / 1.202 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.097, allocations: 357.9 kB / 1.202 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.099, allocations: 2.205 MB / 1.204 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/1.102, allocations: 2.348 MB / 1.206 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/1.104, allocations: 2.271 MB / 1.209 GB, free: 340 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.104, allocations: 4 kB / 1.209 GB, free: 336 kB / 0.9512 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005625/1.11, allocations: 4.905 MB / 1.213 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.11, allocations: 8 kB / 1.213 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.11, allocations: 3.984 kB / 1.213 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/1.11, allocations: 88.78 kB / 1.214 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.111, allocations: 283.5 kB / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/1.113, allocations: 1.526 MB / 1.215 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.115, allocations: 154.8 kB / 1.215 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.115, allocations: 60.03 kB / 1.216 GB, free: 9.16 MB / 0.9669 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.001026/1.116, allocations: 0.6363 MB / 1.216 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/1.116, allocations: 134.2 kB / 1.216 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/1.119, allocations: 1.493 MB / 1.218 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.119, allocations: 12 kB / 1.218 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.119, allocations: 0 / 1.218 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.119, allocations: 11.97 kB / 1.218 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.121, allocations: 1.304 MB / 1.219 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.121, allocations: 0 / 1.219 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/1.122, allocations: 179.7 kB / 1.219 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/1.122, allocations: 80.78 kB / 1.219 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/1.122, allocations: 35.97 kB / 1.219 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/1.124, allocations: 1.54 MB / 1.221 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.124, allocations: 0 / 1.221 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.126, allocations: 1.286 MB / 1.222 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/1.127, allocations: 386.8 kB / 1.222 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.127, allocations: 28 kB / 1.222 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/1.128, allocations: 98.2 kB / 1.223 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.128, allocations: 88.88 kB / 1.223 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/1.128, allocations: 43.97 kB / 1.223 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002622/1.131, allocations: 2.634 MB / 1.225 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.814e-06/1.131, allocations: 0 / 1.225 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002466/1.133, allocations: 0.9401 MB / 1.226 GB, free: 13.98 MB / 0.9825 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.002527/1.136, allocations: 0.9425 MB / 1.227 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.14, allocations: 2.992 MB / 1.23 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.14, allocations: 3.984 kB / 1.23 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/1.141, allocations: 0.6684 MB / 1.231 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.143, allocations: 334.6 kB / 1.231 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/1.151, allocations: 5.655 MB / 1.237 GB, free: 3.512 MB / 0.9825 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]