Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.859/1.859, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001536/0.001536, allocations: 179.2 kB / 393.1 MB, free: 4.066 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.435/1.435, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 87.95 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003509, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.6972, allocations: 121.3 MB / 1.041 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003326/0.7006, allocations: 3.239 MB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003788/0.7045, allocations: 3.122 MB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.7049, allocations: 16.25 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.7056, allocations: 227.7 kB / 1.047 GB, free: 53.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008842/0.7065, allocations: 466.2 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.7077, allocations: 466.3 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.7094, allocations: 1.631 MB / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.7097, allocations: 129.7 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.7102, allocations: 383.7 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.7108, allocations: 0.4992 MB / 1.051 GB, free: 52.3 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.7109, allocations: 31.38 kB / 1.051 GB, free: 52.3 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.711, allocations: 35.22 kB / 1.051 GB, free: 52.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.7114, allocations: 318.6 kB / 1.051 GB, free: 52.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.7118, allocations: 451.2 kB / 1.052 GB, free: 51.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.7125, allocations: 0.8899 MB / 1.052 GB, free: 51.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7125, allocations: 3.938 kB / 1.052 GB, free: 51.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/0.7125, allocations: 0.9688 kB / 1.052 GB, free: 51.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7126, allocations: 0 / 1.052 GB, free: 51.65 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002056/0.7146, allocations: 1.137 MB / 1.054 GB, free: 50.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.7147, allocations: 10.38 kB / 1.054 GB, free: 50.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.7148, allocations: 105.8 kB / 1.054 GB, free: 50.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.7158, allocations: 0.6517 MB / 1.054 GB, free: 50.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.7159, allocations: 37.5 kB / 1.054 GB, free: 50.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.716, allocations: 65.42 kB / 1.054 GB, free: 50.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.7166, allocations: 413.6 kB / 1.055 GB, free: 50.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7166, allocations: 0 / 1.055 GB, free: 50.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.7166, allocations: 11.78 kB / 1.055 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7166, allocations: 7.344 kB / 1.055 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.717, allocations: 240.9 kB / 1.055 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.7197, allocations: 2.513 MB / 1.057 GB, free: 48.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7211, allocations: 0.5495 MB / 1.058 GB, free: 48.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.7214, allocations: 162.9 kB / 1.058 GB, free: 47.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.7214, allocations: 6.938 kB / 1.058 GB, free: 47.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.7214, allocations: 34.23 kB / 1.058 GB, free: 47.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.7214, allocations: 0 / 1.058 GB, free: 47.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001429/0.7229, allocations: 0.9042 MB / 1.059 GB, free: 47.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.7229, allocations: 54.44 kB / 1.059 GB, free: 47.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.7239, allocations: 0.914 MB / 1.06 GB, free: 46.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.724, allocations: 42.7 kB / 1.06 GB, free: 46.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.7242, allocations: 362.7 kB / 1.06 GB, free: 46.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.7243, allocations: 115.7 kB / 1.061 GB, free: 46.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.7243, allocations: 15.69 kB / 1.061 GB, free: 46.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7245, allocations: 397.6 kB / 1.061 GB, free: 46.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.7248, allocations: 243.9 kB / 1.061 GB, free: 46.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.7253, allocations: 0.6377 MB / 1.062 GB, free: 45.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.7262, allocations: 0.8871 MB / 1.063 GB, free: 44.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.7262, allocations: 3 kB / 1.063 GB, free: 44.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001418/0.7276, allocations: 1.022 MB / 1.064 GB, free: 44.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7277, allocations: 9.25 kB / 1.064 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.7277, allocations: 15.25 kB / 1.064 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.7281, allocations: 130.5 kB / 1.064 GB, free: 44.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.7287, allocations: 189.9 kB / 1.064 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.7311, allocations: 4.16 MB / 1.068 GB, free: 40.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.7321, allocations: 112.2 kB / 1.068 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7322, allocations: 44.25 kB / 1.068 GB, free: 40.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003247/0.7325, allocations: 276.5 kB / 1.068 GB, free: 39.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.7326, allocations: 82.05 kB / 1.069 GB, free: 39.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.7327, allocations: 76.55 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7327, allocations: 3.156 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.7328, allocations: 6.047 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7328, allocations: 5.578 kB / 1.069 GB, free: 39.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.7335, allocations: 0.6605 MB / 1.069 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7335, allocations: 0 / 1.069 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.7339, allocations: 68.11 kB / 1.069 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.7341, allocations: 101.8 kB / 1.069 GB, free: 39.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.7342, allocations: 14.58 kB / 1.069 GB, free: 39.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.7364, allocations: 4.128 MB / 1.073 GB, free: 35.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7364, allocations: 0 / 1.073 GB, free: 35.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.7374, allocations: 0.7426 MB / 1.074 GB, free: 35.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.7376, allocations: 207 kB / 1.074 GB, free: 34.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.7377, allocations: 14.77 kB / 1.074 GB, free: 34.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.7382, allocations: 28.61 kB / 1.074 GB, free: 34.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.7382, allocations: 27.34 kB / 1.074 GB, free: 34.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.7383, allocations: 11.28 kB / 1.074 GB, free: 34.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007672/0.739, allocations: 0.6118 MB / 1.075 GB, free: 34.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.739, allocations: 0 / 1.075 GB, free: 34.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009524/0.74, allocations: 269.4 kB / 1.075 GB, free: 34.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/0.7402, allocations: 114.6 kB / 1.075 GB, free: 34.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7414, allocations: 0.9244 MB / 1.076 GB, free: 33.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7414, allocations: 0 / 1.076 GB, free: 33.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.7419, allocations: 0.529 MB / 1.077 GB, free: 33.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.7427, allocations: 163.4 kB / 1.077 GB, free: 33.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.7452, allocations: 2.119 MB / 1.079 GB, free: 32.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.7456, allocations: 0.9887 MB / 1.08 GB, free: 31.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003982/0.746, allocations: 145.4 kB / 1.08 GB, free: 31.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.7462, allocations: 50.38 kB / 1.08 GB, free: 31.46 MB / 0.698 GB Notification: Performance of SimCode: time 9.41e-07/0.7462, allocations: 0 / 1.08 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Templates: time 0.01822/0.7644, allocations: 9.553 MB / 1.09 GB, free: 30.87 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)