Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.82/4.82, allocations: 0.5623 GB / 0.5769 GB, free: 3.383 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002382, allocations: 354.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.078/4.078, allocations: 410.7 MB / 1.112 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 175.6 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004843, allocations: 8 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6204, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.01194/0.6324, allocations: 11.52 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1479/0.7803, allocations: 144.7 MB / 1.613 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.7835, allocations: 55.69 kB / 1.613 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006119/0.7896, allocations: 1.917 MB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.795, allocations: 1.474 MB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005864/0.8009, allocations: 1.71 MB / 1.618 GB, free: 123 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.8086, allocations: 7.028 MB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.8113, allocations: 1.582 MB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.8147, allocations: 1.972 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.818, allocations: 2.038 MB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008918/0.819, allocations: 156 kB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.8243, allocations: 2.379 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.8273, allocations: 2.987 MB / 1.636 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.8287, allocations: 0.7806 MB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008131/0.8369, allocations: 6.142 MB / 1.643 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.729e-06/0.8369, allocations: 0 / 1.643 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.582e-06/0.8369, allocations: 0 / 1.643 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000127/0.8371, allocations: 3.938 kB / 1.643 GB, free: 97.82 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.009812/0.8469, allocations: 4.629 MB / 1.647 GB, free: 93.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.847, allocations: 15.62 kB / 1.647 GB, free: 93.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03047/0.8774, allocations: 4.379 MB / 1.652 GB, free: 88.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03898/0.9165, allocations: 11.53 MB / 1.663 GB, free: 77.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.9167, allocations: 212.8 kB / 1.663 GB, free: 76.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.9178, allocations: 288 kB / 1.663 GB, free: 76.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.9301, allocations: 4.288 MB / 1.668 GB, free: 72.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.9302, allocations: 7.938 kB / 1.668 GB, free: 72.17 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.9306, allocations: 108 kB / 1.668 GB, free: 72.06 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.9307, allocations: 60 kB / 1.668 GB, free: 72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.9428, allocations: 3.881 MB / 1.672 GB, free: 68.11 MB / 0.8542 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.03538/0.9782, allocations: 22.44 MB / 1.693 GB, free: 44.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008832/0.9871, allocations: 2.971 MB / 1.696 GB, free: 41.53 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007131/0.9943, allocations: 2.23 MB / 1.699 GB, free: 39.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.9948, allocations: 425.6 kB / 1.699 GB, free: 38.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007526/1.002, allocations: 2.426 MB / 1.701 GB, free: 36.35 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=175): time 6.155e-06/1.002, allocations: 0 / 1.701 GB, free: 36.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=175): time 0.05136/1.054, allocations: 11.83 MB / 1.713 GB, free: 24.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/1.054, allocations: 473 kB / 1.713 GB, free: 23.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/1.074, allocations: 13.12 MB / 1.726 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006961/1.075, allocations: 77.7 kB / 1.726 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/1.077, allocations: 1.647 MB / 1.728 GB, free: 9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/1.077, allocations: 0.5969 MB / 1.728 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/1.078, allocations: 64 kB / 1.728 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.078, allocations: 436.2 kB / 1.729 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5875/1.666, allocations: 8.976 MB / 1.738 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02049/1.686, allocations: 9.923 MB / 1.747 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/1.705, allocations: 9.032 MB / 1.756 GB, free: 258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-05/1.705, allocations: 7.016 kB / 1.756 GB, free: 258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.0461/1.751, allocations: 20.94 MB / 1.777 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005954/1.752, allocations: 0.9529 MB / 1.777 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08644/1.838, allocations: 11.51 MB / 1.789 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.106/1.944, allocations: 10.92 MB / 1.799 GB, free: 217.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006496/1.951, allocations: 0.8815 MB / 1.8 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.964, allocations: 7.949 MB / 1.808 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009143/1.973, allocations: 0.742 MB / 1.809 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.974, allocations: 207.5 kB / 1.809 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.974, allocations: 4 kB / 1.809 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0402/2.015, allocations: 19.97 MB / 1.828 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02759/2.042, allocations: 10.48 MB / 1.839 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/2.047, allocations: 1.2 MB / 1.84 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007529/2.054, allocations: 0.9866 MB / 1.841 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/2.071, allocations: 11.73 MB / 1.852 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008846/2.08, allocations: 0.6671 MB / 1.853 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009303/2.081, allocations: 198.8 kB / 1.853 GB, free: 162 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (301): * Single equations (assignments): 296 * 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.003563/2.085, allocations: 1.996 MB / 1.855 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009297/2.086, allocations: 363.1 kB / 1.855 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02498/2.111, allocations: 6.879 MB / 1.862 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/2.111, allocations: 16 kB / 1.862 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/2.111, allocations: 4 kB / 1.862 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/2.111, allocations: 11.97 kB / 1.862 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/2.142, allocations: 11.67 MB / 1.874 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0439/2.186, allocations: 6.788 MB / 1.88 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/2.189, allocations: 335.5 kB / 1.881 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1254/2.314, allocations: 15.7 MB / 1.896 GB, free: 118 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004829/2.315, allocations: 71.94 kB / 1.896 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/2.328, allocations: 7.982 MB / 1.904 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.755e-06/2.328, allocations: 0 / 1.904 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04524/2.373, allocations: 7.639 MB / 1.911 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002629/2.376, allocations: 1.003 MB / 1.912 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008133/2.377, allocations: 36 kB / 1.912 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004784/2.382, allocations: 339.3 kB / 1.912 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/2.382, allocations: 117.8 kB / 1.913 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/2.382, allocations: 89.72 kB / 1.913 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00934/2.392, allocations: 8.31 MB / 1.921 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.021e-06/2.392, allocations: 7.938 kB / 1.921 GB, free: 91.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008371/2.4, allocations: 2.414 MB / 1.923 GB, free: 89.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.003212/2.403, allocations: 0.9419 MB / 1.924 GB, free: 88.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04487/2.448, allocations: 23.36 MB / 1.947 GB, free: 65.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.448, allocations: 4.062 kB / 1.947 GB, free: 65.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009425/2.458, allocations: 3.17 MB / 1.95 GB, free: 62.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/2.462, allocations: 0.7276 MB / 1.951 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/2.491, allocations: 16.61 MB / 1.967 GB, free: 44.95 MB / 0.8542 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]