Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.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.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaSha.glass_a.T|window.glaSha.glass_b.T|window.glaUns_a.T|window.glaUns_b.T|TRAir.T|window.glaUns_a.Q_flow|window.glaUns_b.Q_flow|window.glaSha.glass_a.Q_flow|window.glaSha.glass_b.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaSha.glass_a.T|window.glaSha.glass_b.T|window.glaUns_a.T|window.glaUns_b.T|TRAir.T|window.glaUns_a.Q_flow|window.glaUns_b.Q_flow|window.glaSha.glass_a.Q_flow|window.glaSha.glass_b.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001146, allocations: 84.38 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.001691/0.001692, 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.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.406 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.877/2.877, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004016, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7505, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01402/0.7646, allocations: 12.91 MB / 1.035 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.9466, allocations: 145.4 MB / 1.177 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.9503, allocations: 59.69 kB / 1.177 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.9578, allocations: 2.065 MB / 1.179 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008199/0.966, allocations: 1.562 MB / 1.181 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008496/0.9745, allocations: 1.726 MB / 1.182 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.9848, allocations: 7.473 MB / 1.19 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.9876, allocations: 1.55 MB / 1.191 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.9917, allocations: 2.148 MB / 1.193 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004224/0.9959, allocations: 2.132 MB / 1.195 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0009334/0.9969, allocations: 160 kB / 1.195 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005336/1.002, allocations: 2.465 MB / 1.198 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003182/1.005, allocations: 3.014 MB / 1.201 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/1.007, allocations: 0.8274 MB / 1.202 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/1.019, allocations: 6.395 MB / 1.208 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.019, allocations: 8 kB / 1.208 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.926e-06/1.019, allocations: 0 / 1.208 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002154/1.019, allocations: 0 / 1.208 GB, free: 1.551 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01149/1.031, allocations: 4.807 MB / 1.213 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.031, allocations: 8.562 kB / 1.213 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0254/1.056, allocations: 4.395 MB / 1.217 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03582/1.092, allocations: 11.57 MB / 1.228 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/1.092, allocations: 221 kB / 1.228 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.093, allocations: 292 kB / 1.229 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/1.104, allocations: 4.397 MB / 1.233 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/1.104, allocations: 4 kB / 1.233 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/1.105, allocations: 108 kB / 1.233 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/1.105, allocations: 60 kB / 1.233 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.115, allocations: 3.967 MB / 1.237 GB, free: 3.402 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.7968/1.912, allocations: 22.82 MB / 1.259 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009807/1.922, allocations: 3.099 MB / 1.262 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007408/1.929, allocations: 2.262 MB / 1.264 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/1.93, allocations: 423.5 kB / 1.265 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007737/1.938, allocations: 2.519 MB / 1.267 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=187): time 6.963e-06/1.938, allocations: 2.078 kB / 1.267 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187): time 0.04564/1.983, allocations: 12.35 MB / 1.279 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/1.984, allocations: 477.2 kB / 1.28 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01781/2.001, allocations: 13.2 MB / 1.293 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/2.003, allocations: 77.7 kB / 1.293 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/2.006, allocations: 1.697 MB / 1.294 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/2.007, allocations: 0.6272 MB / 1.295 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005714/2.008, allocations: 60 kB / 1.295 GB, free: 203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002797/2.008, allocations: 440.6 kB / 1.296 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01315/2.021, allocations: 9.026 MB / 1.304 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01431/2.036, allocations: 9.979 MB / 1.314 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/2.049, allocations: 9.071 MB / 1.323 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/2.049, allocations: 8 kB / 1.323 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.04671/2.096, allocations: 21.13 MB / 1.344 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006652/2.097, allocations: 0.9462 MB / 1.345 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05474/2.152, allocations: 12.29 MB / 1.357 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07951/2.231, allocations: 10.93 MB / 1.367 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/2.237, allocations: 0.9034 MB / 1.368 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/2.248, allocations: 7.961 MB / 1.376 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007899/2.256, allocations: 0.7675 MB / 1.377 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/2.257, allocations: 210.6 kB / 1.377 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/2.257, allocations: 4 kB / 1.377 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03285/2.29, allocations: 20.07 MB / 1.396 GB, free: 98.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02241/2.313, allocations: 10.58 MB / 1.407 GB, free: 87.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/2.316, allocations: 1.206 MB / 1.408 GB, free: 86.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/2.322, allocations: 1.001 MB / 1.409 GB, free: 85.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/2.335, allocations: 11.75 MB / 1.42 GB, free: 72.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006794/2.342, allocations: 0.6976 MB / 1.421 GB, free: 72.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/2.343, allocations: 202.5 kB / 1.421 GB, free: 72.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (317): * Single equations (assignments): 312 * 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 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.003707/2.347, allocations: 2.005 MB / 1.423 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.348, allocations: 375.1 kB / 1.424 GB, free: 69.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/2.368, allocations: 7.032 MB / 1.43 GB, free: 62.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/2.368, allocations: 24 kB / 1.43 GB, free: 62.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/2.368, allocations: 0 / 1.43 GB, free: 62.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/2.368, allocations: 11.97 kB / 1.431 GB, free: 62.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/2.394, allocations: 11.78 MB / 1.442 GB, free: 50.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01266/2.407, allocations: 5.074 MB / 1.447 GB, free: 45.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/2.409, allocations: 343.5 kB / 1.447 GB, free: 45.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09092/2.5, allocations: 15.71 MB / 1.463 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005947/2.501, allocations: 75.94 kB / 1.463 GB, free: 29.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0099/2.51, allocations: 7.974 MB / 1.47 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.511, allocations: 4.062 kB / 1.47 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/2.525, allocations: 5.767 MB / 1.476 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002738/2.528, allocations: 1.034 MB / 1.477 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.529, allocations: 40 kB / 1.477 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004677/2.534, allocations: 355.5 kB / 1.478 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/2.535, allocations: 137.8 kB / 1.478 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/2.535, allocations: 100.7 kB / 1.478 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008593/2.544, allocations: 8.367 MB / 1.486 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/2.544, allocations: 0 / 1.486 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009513/2.553, allocations: 2.527 MB / 1.488 GB, free: 2.645 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 101 * 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.002981/2.556, allocations: 1.011 MB / 1.489 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03931/2.596, allocations: 23.53 MB / 1.512 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/2.596, allocations: 0 / 1.512 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.008021/2.604, allocations: 3.242 MB / 1.516 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/2.609, allocations: 0.7747 MB / 1.516 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/2.638, allocations: 16.86 MB / 1.533 GB, free: 5.383 MB / 1.045 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]