Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.000868/0.0008678, allocations: 86.48 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.001218/0.001217, 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7343, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01192/0.7463, allocations: 11.78 MB / 0.9659 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.9203, allocations: 145.3 MB / 1.108 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.9237, allocations: 63.62 kB / 1.108 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008301/0.932, allocations: 2.023 MB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.9391, allocations: 1.47 MB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.9454, allocations: 1.73 MB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009599/0.955, allocations: 7.272 MB / 1.12 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.9586, allocations: 1.608 MB / 1.122 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.963, allocations: 2.113 MB / 1.124 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.967, allocations: 2.093 MB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.9682, allocations: 168 kB / 1.126 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.974, allocations: 2.469 MB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003353/0.9774, allocations: 3.014 MB / 1.131 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.9793, allocations: 0.8001 MB / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.9906, allocations: 6.352 MB / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.9906, allocations: 0 / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.446e-06/0.9906, allocations: 0 / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000423/0.991, allocations: 0 / 1.138 GB, free: 2.734 MB / 0.8887 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.01514/1.006, allocations: 4.769 MB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.006, allocations: 8.031 kB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/1.032, allocations: 4.402 MB / 1.147 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/1.066, allocations: 11.59 MB / 1.159 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/1.067, allocations: 225 kB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/1.068, allocations: 292 kB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/1.082, allocations: 4.393 MB / 1.163 GB, free: 8.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/1.082, allocations: 7.938 kB / 1.163 GB, free: 8.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007415/1.083, allocations: 107.9 kB / 1.163 GB, free: 8.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/1.083, allocations: 64 kB / 1.163 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/1.093, allocations: 3.963 MB / 1.167 GB, free: 4.602 MB / 0.92 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.03469/1.128, allocations: 22.73 MB / 1.19 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007855/1.136, allocations: 3.098 MB / 1.193 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005943/1.142, allocations: 2.264 MB / 1.195 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/1.143, allocations: 429.7 kB / 1.195 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006602/1.149, allocations: 2.52 MB / 1.198 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=187): time 5.43e-06/1.149, allocations: 0 / 1.198 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=187): time 0.04357/1.193, allocations: 12.33 MB / 1.21 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003078/1.193, allocations: 477.1 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01996/1.213, allocations: 13.2 MB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001287/1.214, allocations: 77.7 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002767/1.217, allocations: 1.694 MB / 1.225 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.219, allocations: 0.6239 MB / 1.225 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/1.22, allocations: 67.94 kB / 1.225 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000457/1.22, allocations: 444.5 kB / 1.226 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01546/1.236, allocations: 9.022 MB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01634/1.252, allocations: 9.976 MB / 1.244 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6754/1.928, allocations: 9.056 MB / 1.253 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.107e-05/1.928, allocations: 7.625 kB / 1.253 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.04188/1.97, allocations: 21.12 MB / 1.274 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006666/1.97, allocations: 0.9559 MB / 1.275 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03738/2.008, allocations: 12.28 MB / 1.287 GB, free: 259.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07674/2.084, allocations: 10.92 MB / 1.297 GB, free: 248.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/2.09, allocations: 0.9074 MB / 1.298 GB, free: 247.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009804/2.1, allocations: 7.949 MB / 1.306 GB, free: 238.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007124/2.107, allocations: 0.7678 MB / 1.307 GB, free: 238.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007531/2.108, allocations: 202.6 kB / 1.307 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/2.108, allocations: 4 kB / 1.307 GB, free: 238.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02835/2.136, allocations: 20.07 MB / 1.327 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01954/2.156, allocations: 10.58 MB / 1.337 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/2.159, allocations: 1.201 MB / 1.338 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/2.165, allocations: 1.006 MB / 1.339 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/2.176, allocations: 11.73 MB / 1.351 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/2.182, allocations: 0.6976 MB / 1.351 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/2.183, allocations: 206.8 kB / 1.352 GB, free: 192.2 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.002586/2.186, allocations: 2.01 MB / 1.353 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/2.186, allocations: 371.2 kB / 1.354 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/2.204, allocations: 7.035 MB / 1.361 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/2.204, allocations: 20 kB / 1.361 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/2.204, allocations: 0 / 1.361 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/2.204, allocations: 11.97 kB / 1.361 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/2.226, allocations: 11.78 MB / 1.372 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01187/2.238, allocations: 5.074 MB / 1.377 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/2.24, allocations: 347.5 kB / 1.378 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09159/2.331, allocations: 15.7 MB / 1.393 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009751/2.332, allocations: 79.92 kB / 1.393 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00949/2.342, allocations: 7.988 MB / 1.401 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.342, allocations: 3.938 kB / 1.401 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/2.355, allocations: 5.751 MB / 1.406 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/2.358, allocations: 1.038 MB / 1.407 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/2.359, allocations: 47.98 kB / 1.407 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/2.363, allocations: 347.2 kB / 1.408 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/2.364, allocations: 137.8 kB / 1.408 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/2.364, allocations: 91.94 kB / 1.408 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006704/2.371, allocations: 8.375 MB / 1.416 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/2.371, allocations: 0 / 1.416 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007028/2.378, allocations: 2.488 MB / 1.419 GB, free: 122.8 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.002368/2.38, allocations: 0.9981 MB / 1.42 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03148/2.412, allocations: 23.53 MB / 1.443 GB, free: 98.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.412, allocations: 0 / 1.443 GB, free: 98.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00669/2.418, allocations: 3.229 MB / 1.446 GB, free: 95.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/2.422, allocations: 0.7411 MB / 1.446 GB, free: 94.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/2.443, allocations: 16.87 MB / 1.463 GB, free: 77.59 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]