Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 297.4 MB / 312.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 186 kB / 382.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.7 MB / 0.6617 GB, free: 7.18 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.000932, allocations: 93.16 kB / 0.7789 GB, free: 46.74 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005707, allocations: 8 kB / 0.9058 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8442, allocations: 119.2 MB / 1.022 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001716/0.846, allocations: 1.118 MB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.848, allocations: 1.957 MB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.848, allocations: 0 / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.849, allocations: 367.1 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.849, allocations: 17.56 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.8491, allocations: 0 / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.8493, allocations: 142.6 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.8494, allocations: 20.83 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.8494, allocations: 43.98 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.8496, allocations: 64.09 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.8496, allocations: 3.688 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.85, allocations: 173.7 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.8501, allocations: 32.12 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.8502, allocations: 101.6 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.8506, allocations: 277.3 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8506, allocations: 0.7031 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8506, allocations: 0 / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.8507, allocations: 0 / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006478/0.8513, allocations: 481.7 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8514, allocations: 7.906 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.8515, allocations: 104.3 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.8517, allocations: 288.3 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.8517, allocations: 155.4 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.8518, allocations: 153.6 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.558e-05/0.8518, allocations: 111.9 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.8518, allocations: 78.34 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.8519, allocations: 151.9 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.8519, allocations: 158.7 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.8519, allocations: 152.2 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.8522, allocations: 0.5005 MB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.534e-05/0.8523, allocations: 171.7 kB / 1.029 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.8523, allocations: 80.67 kB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.8523, allocations: 76.34 kB / 1.029 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.8524, allocations: 113.6 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8524, allocations: 0 / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001616/0.8526, allocations: 49.33 kB / 1.029 GB, free: 52.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.8526, allocations: 134.6 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.8529, allocations: 319 kB / 1.03 GB, free: 52.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.853, allocations: 25.7 kB / 1.03 GB, free: 52.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.853, allocations: 121.1 kB / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.853, allocations: 3.188 kB / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.853, allocations: 0 / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.8531, allocations: 331.3 kB / 1.03 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.8532, allocations: 58.42 kB / 1.03 GB, free: 51.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.8533, allocations: 123 kB / 1.03 GB, free: 51.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.8535, allocations: 220.1 kB / 1.03 GB, free: 51.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8535, allocations: 0 / 1.03 GB, free: 51.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003712/0.8539, allocations: 233.6 kB / 1.031 GB, free: 51.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8539, allocations: 8.938 kB / 1.031 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8539, allocations: 5.469 kB / 1.031 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.8539, allocations: 3.188 kB / 1.031 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-06/0.8539, allocations: 8.469 kB / 1.031 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.854, allocations: 6.188 kB / 1.031 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.8541, allocations: 29.38 kB / 1.031 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.8541, allocations: 4.812 kB / 1.031 GB, free: 51.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.8543, allocations: 225.3 kB / 1.031 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.8543, allocations: 122.8 kB / 1.031 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.8544, allocations: 116.9 kB / 1.031 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/0.8544, allocations: 185.7 kB / 1.031 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/0.8544, allocations: 182.5 kB / 1.032 GB, free: 50.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.8545, allocations: 179.5 kB / 1.032 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.8547, allocations: 454.5 kB / 1.032 GB, free: 50.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.8547, allocations: 105.1 kB / 1.032 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.8547, allocations: 108.9 kB / 1.032 GB, free: 49.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-05/0.8547, allocations: 180.2 kB / 1.033 GB, free: 49.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.8548, allocations: 182.8 kB / 1.033 GB, free: 49.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-05/0.8548, allocations: 180.3 kB / 1.033 GB, free: 49.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-05/0.8548, allocations: 184.2 kB / 1.033 GB, free: 49.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.8549, allocations: 324.2 kB / 1.033 GB, free: 48.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.855, allocations: 195 kB / 1.034 GB, free: 48.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.855, allocations: 182.5 kB / 1.034 GB, free: 48.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.8552, allocations: 104.9 kB / 1.034 GB, free: 48.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.8552, allocations: 180.3 kB / 1.034 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.8552, allocations: 108.1 kB / 1.034 GB, free: 47.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001751/0.8554, allocations: 214.9 kB / 1.034 GB, free: 47.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8554, allocations: 0 / 1.034 GB, free: 47.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003391/0.8558, allocations: 65.09 kB / 1.034 GB, free: 47.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/0.8561, allocations: 273.8 kB / 1.035 GB, free: 47.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.8563, allocations: 106.2 kB / 1.035 GB, free: 47.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8563, allocations: 3.938 kB / 1.035 GB, free: 47.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.8563, allocations: 0 / 1.035 GB, free: 47.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.8566, allocations: 0.5319 MB / 1.035 GB, free: 47.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.8572, allocations: 431 kB / 1.036 GB, free: 46.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.8575, allocations: 0.7478 MB / 1.036 GB, free: 46.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.516e-05/0.8575, allocations: 2.062 kB / 1.036 GB, free: 46.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.8575, allocations: 9.75 kB / 1.036 GB, free: 46.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.8575, allocations: 0 / 1.036 GB, free: 46.05 MB / 0.698 GB Notification: Performance of Templates: time 0.005692/0.8632, allocations: 2.228 MB / 1.039 GB, free: 45.78 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)