Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.62/4.62, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 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.002432/0.002432, allocations: 358.9 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.09/4.09, allocations: 410.7 MB / 1.112 GB, free: 5.988 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.001765/0.001765, allocations: 181.4 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.000495, allocations: 16 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5659, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01146/0.5774, allocations: 11.37 MB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.7434, allocations: 144.7 MB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.7476, allocations: 59.62 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006732/0.7544, allocations: 1.915 MB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.7595, allocations: 1.475 MB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.7651, allocations: 1.711 MB / 1.618 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007481/0.7726, allocations: 7.033 MB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.7755, allocations: 1.66 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.7787, allocations: 1.987 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.7818, allocations: 2.038 MB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007824/0.7826, allocations: 156 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.7873, allocations: 2.083 MB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.7902, allocations: 2.987 MB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.7915, allocations: 0.7884 MB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007684/0.7992, allocations: 6.11 MB / 1.642 GB, free: 98.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.7992, allocations: 0 / 1.642 GB, free: 98.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.508e-06/0.7992, allocations: 0 / 1.642 GB, free: 98.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000104/0.7993, allocations: 4 kB / 1.642 GB, free: 98.2 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01044/0.8098, allocations: 4.653 MB / 1.647 GB, free: 93.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8098, allocations: 11.62 kB / 1.647 GB, free: 93.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/0.8398, allocations: 4.418 MB / 1.651 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03768/0.8775, allocations: 11.57 MB / 1.663 GB, free: 77.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.8778, allocations: 221 kB / 1.663 GB, free: 77.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009595/0.8788, allocations: 292 kB / 1.663 GB, free: 76.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.8905, allocations: 4.334 MB / 1.667 GB, free: 72.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.8906, allocations: 3.938 kB / 1.667 GB, free: 72.42 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.891, allocations: 108 kB / 1.667 GB, free: 72.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.8911, allocations: 60 kB / 1.668 GB, free: 72.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.9021, allocations: 3.941 MB / 1.671 GB, free: 68.3 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.02743/0.9295, allocations: 19.41 MB / 1.69 GB, free: 47.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.9399, allocations: 3.651 MB / 1.694 GB, free: 44.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007703/0.9476, allocations: 2.638 MB / 1.696 GB, free: 41.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.9481, allocations: 438.3 kB / 1.697 GB, free: 41.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008233/0.9564, allocations: 2.854 MB / 1.7 GB, free: 38.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=201): time 5.891e-06/0.9564, allocations: 0 / 1.7 GB, free: 38.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=201): time 0.05419/1.011, allocations: 13.38 MB / 1.713 GB, free: 24.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/1.011, allocations: 377.2 kB / 1.713 GB, free: 24.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01925/1.03, allocations: 12.82 MB / 1.726 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007958/1.031, allocations: 77.7 kB / 1.726 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.033, allocations: 1.623 MB / 1.727 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009766/1.034, allocations: 0.6699 MB / 1.728 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/1.034, allocations: 64 kB / 1.728 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.035, allocations: 436.3 kB / 1.728 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5331/1.568, allocations: 9.405 MB / 1.738 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02352/1.591, allocations: 9.876 MB / 1.747 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02135/1.613, allocations: 9.456 MB / 1.756 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-05/1.613, allocations: 1.688 kB / 1.756 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.0501/1.663, allocations: 21.77 MB / 1.778 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003559/1.663, allocations: 478.6 kB / 1.778 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05257/1.716, allocations: 13.69 MB / 1.792 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09987/1.816, allocations: 10.87 MB / 1.802 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006651/1.823, allocations: 0.8815 MB / 1.803 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.836, allocations: 7.88 MB / 1.811 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007233/1.843, allocations: 0.6577 MB / 1.811 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008717/1.844, allocations: 191.8 kB / 1.812 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.806e-06/1.844, allocations: 0 / 1.812 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04062/1.885, allocations: 20.68 MB / 1.832 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03117/1.916, allocations: 12.45 MB / 1.844 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/1.92, allocations: 1.181 MB / 1.845 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007578/1.928, allocations: 0.9746 MB / 1.846 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/1.946, allocations: 11.7 MB / 1.857 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008421/1.954, allocations: 0.6098 MB / 1.858 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009925/1.955, allocations: 191.6 kB / 1.858 GB, free: 156.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (307): * Single equations (assignments): 302 * 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 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003736/1.959, allocations: 1.991 MB / 1.86 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009774/1.96, allocations: 351.5 kB / 1.86 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/1.998, allocations: 7.964 MB / 1.868 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.477e-05/1.998, allocations: 20 kB / 1.868 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.998, allocations: 4 kB / 1.868 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.372e-05/1.998, allocations: 7.969 kB / 1.868 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05735/2.055, allocations: 12.72 MB / 1.881 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0457/2.101, allocations: 7.796 MB / 1.888 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/2.105, allocations: 411.4 kB / 1.889 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1243/2.229, allocations: 15.69 MB / 1.904 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005773/2.23, allocations: 79.92 kB / 1.904 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/2.242, allocations: 7.922 MB / 1.912 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.02e-06/2.242, allocations: 0 / 1.912 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05233/2.295, allocations: 8.302 MB / 1.92 GB, free: 92.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/2.297, allocations: 1.046 MB / 1.921 GB, free: 91.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009282/2.298, allocations: 47.94 kB / 1.921 GB, free: 91.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004812/2.303, allocations: 351.3 kB / 1.921 GB, free: 90.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005134/2.304, allocations: 139.1 kB / 1.922 GB, free: 90.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/2.304, allocations: 111.9 kB / 1.922 GB, free: 90.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008947/2.313, allocations: 8.112 MB / 1.93 GB, free: 82.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.036e-06/2.313, allocations: 0 / 1.93 GB, free: 82.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007366/2.321, allocations: 2.53 MB / 1.932 GB, free: 80.03 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * 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.003276/2.324, allocations: 0.9894 MB / 1.933 GB, free: 79.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04867/2.373, allocations: 25.7 MB / 1.958 GB, free: 53.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.373, allocations: 4.25 kB / 1.958 GB, free: 53.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01558/2.388, allocations: 3.735 MB / 1.962 GB, free: 49.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/2.393, allocations: 0.7201 MB / 1.962 GB, free: 49.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.422, allocations: 17.39 MB / 1.979 GB, free: 31.72 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]