Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.000843/0.0008428, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.00087/0.00087, allocations: 168.7 kB / 15.95 MB, free: 200 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.432/1.432, 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 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 9.094 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01442/0.3641, allocations: 12.88 MB / 1.071 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.5402, allocations: 145.4 MB / 1.213 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005036/0.5453, allocations: 63.62 kB / 1.213 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009386/0.5547, allocations: 2.046 MB / 1.215 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00841/0.5631, allocations: 1.562 MB / 1.216 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009025/0.5722, allocations: 1.751 MB / 1.218 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.5876, allocations: 7.468 MB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.5916, allocations: 1.554 MB / 1.227 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/0.5969, allocations: 2.148 MB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.6017, allocations: 2.128 MB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.603, allocations: 160 kB / 1.231 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006597/0.6096, allocations: 2.469 MB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.6134, allocations: 3.014 MB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.6156, allocations: 0.8196 MB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.6265, allocations: 6.402 MB / 1.243 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6265, allocations: 0 / 1.243 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.376e-06/0.6265, allocations: 0 / 1.243 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002583/0.6268, allocations: 0 / 1.243 GB, free: 6.867 MB / 0.9981 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.01223/0.639, allocations: 4.796 MB / 1.248 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6391, allocations: 12.03 kB / 1.248 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7826/1.422, allocations: 4.391 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03574/1.458, allocations: 11.58 MB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.458, allocations: 218.2 kB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/1.459, allocations: 294 kB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/1.473, allocations: 4.395 MB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/1.473, allocations: 6.188 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/1.473, allocations: 108 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/1.473, allocations: 64.31 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/1.486, allocations: 3.959 MB / 1.273 GB, free: 181.8 MB / 0.9981 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.0422/1.528, allocations: 22.82 MB / 1.295 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008106/1.537, allocations: 3.093 MB / 1.298 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005926/1.543, allocations: 2.27 MB / 1.3 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/1.543, allocations: 423.3 kB / 1.3 GB, free: 164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00679/1.55, allocations: 2.528 MB / 1.303 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=187): time 6.121e-06/1.55, allocations: 0 / 1.303 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187): time 0.0422/1.592, allocations: 12.33 MB / 1.315 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/1.593, allocations: 477.6 kB / 1.315 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01695/1.609, allocations: 13.2 MB / 1.328 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.611, allocations: 84 kB / 1.328 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/1.613, allocations: 1.698 MB / 1.33 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.615, allocations: 0.628 MB / 1.331 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/1.616, allocations: 64 kB / 1.331 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000348/1.617, allocations: 436.5 kB / 1.331 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01394/1.631, allocations: 9.022 MB / 1.34 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/1.645, allocations: 9.972 MB / 1.35 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/1.66, allocations: 9.079 MB / 1.359 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-05/1.661, allocations: 12 kB / 1.359 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.03927/1.7, allocations: 21.12 MB / 1.379 GB, free: 83.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007312/1.701, allocations: 0.9569 MB / 1.38 GB, free: 81.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04058/1.741, allocations: 12.28 MB / 1.392 GB, free: 69.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07697/1.818, allocations: 10.93 MB / 1.403 GB, free: 58.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/1.824, allocations: 0.9056 MB / 1.404 GB, free: 57.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.834, allocations: 7.958 MB / 1.411 GB, free: 49.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/1.842, allocations: 0.7713 MB / 1.412 GB, free: 48.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.843, allocations: 207 kB / 1.412 GB, free: 48.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.843, allocations: 4 kB / 1.412 GB, free: 48.36 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03307/1.876, allocations: 20.06 MB / 1.432 GB, free: 28.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02194/1.898, allocations: 10.59 MB / 1.442 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/1.902, allocations: 1.199 MB / 1.444 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00682/1.908, allocations: 1.008 MB / 1.445 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/1.922, allocations: 11.75 MB / 1.456 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008397/1.931, allocations: 0.6853 MB / 1.457 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.932, allocations: 206.8 kB / 1.457 GB, free: 2.309 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.004638/1.937, allocations: 2.015 MB / 1.459 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/1.939, allocations: 375.2 kB / 1.459 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/1.962, allocations: 7.034 MB / 1.466 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/1.962, allocations: 20 kB / 1.466 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.962, allocations: 0 / 1.466 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-05/1.962, allocations: 7.969 kB / 1.466 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03003/1.992, allocations: 11.8 MB / 1.478 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01533/2.008, allocations: 5.072 MB / 1.483 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/2.01, allocations: 343.5 kB / 1.483 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0962/2.106, allocations: 15.7 MB / 1.498 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/2.108, allocations: 71.94 kB / 1.498 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/2.127, allocations: 7.985 MB / 1.506 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.127, allocations: 0 / 1.506 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02702/2.154, allocations: 5.768 MB / 1.512 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004768/2.158, allocations: 1.034 MB / 1.513 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002149/2.161, allocations: 47.95 kB / 1.513 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007224/2.168, allocations: 353 kB / 1.513 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007717/2.169, allocations: 141.7 kB / 1.513 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000742/2.169, allocations: 95.92 kB / 1.513 GB, free: 7.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.01561/2.185, allocations: 8.359 MB / 1.522 GB, free: 15.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.61e-07/2.185, allocations: 8 kB / 1.522 GB, free: 15.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01612/2.201, allocations: 2.526 MB / 1.524 GB, free: 12.84 MB / 1.076 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.003887/2.205, allocations: 1.002 MB / 1.525 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.04433/2.25, allocations: 23.54 MB / 1.548 GB, free: 4.523 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/2.25, allocations: 0 / 1.548 GB, free: 4.523 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.26, allocations: 3.247 MB / 1.551 GB, free: 1.246 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/2.265, allocations: 0.7635 MB / 1.552 GB, free: 492 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/2.297, allocations: 16.86 MB / 1.568 GB, free: 15.58 MB / 1.123 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]