Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6807/0.6807, allocations: 131 MB / 146.3 MB, free: 1.336 MB / 106.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.0009271/0.0009274, allocations: 183.8 kB / 176.4 MB, free: 4.918 MB / 138.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.427/1.427, allocations: 225.7 MB / 431.9 MB, free: 8.855 MB / 314.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.0007795/0.0007795, allocations: 85.67 kB / 0.5003 GB, free: 9.961 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8 kB / 0.5885 GB, free: 72.71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 79.59 MB / 0.6663 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006334/0.1635, allocations: 5.716 MB / 0.6718 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006576/0.1701, allocations: 4.957 MB / 0.6767 GB, free: 13.97 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008883/0.171, allocations: 23.94 kB / 0.6767 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.1716, allocations: 182.5 kB / 0.6769 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008287/0.1724, allocations: 337.9 kB / 0.6772 GB, free: 13.44 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1738, allocations: 0.6513 MB / 0.6778 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1753, allocations: 1.729 MB / 0.6795 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007811/0.1761, allocations: 0.6198 MB / 0.6801 GB, free: 10.41 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.1768, allocations: 0.5719 MB / 0.6807 GB, free: 9.836 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008016/0.1776, allocations: 0.6998 MB / 0.6814 GB, free: 9.133 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.1777, allocations: 68 kB / 0.6814 GB, free: 9.066 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.1783, allocations: 327.6 kB / 0.6817 GB, free: 8.746 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.1786, allocations: 322.6 kB / 0.682 GB, free: 8.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.1792, allocations: 0.7044 MB / 0.6827 GB, free: 7.715 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1809, allocations: 2.044 MB / 0.6847 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1809, allocations: 4 kB / 0.6847 GB, free: 5.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.181, allocations: 0 / 0.6847 GB, free: 5.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.181, allocations: 0 / 0.6847 GB, free: 5.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003155/0.1841, allocations: 1.823 MB / 0.6865 GB, free: 3.738 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1842, allocations: 8.031 kB / 0.6865 GB, free: 3.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004069/0.1846, allocations: 186.9 kB / 0.6867 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.1865, allocations: 0.8785 MB / 0.6876 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/0.187, allocations: 272.2 kB / 0.6878 GB, free: 2.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.1872, allocations: 112 kB / 0.6879 GB, free: 2.199 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/0.1914, allocations: 1.357 MB / 0.6893 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.1914, allocations: 0 / 0.6893 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.1916, allocations: 44 kB / 0.6893 GB, free: 0.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.1917, allocations: 35.88 kB / 0.6893 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/0.1959, allocations: 1.226 MB / 0.6905 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.2061, allocations: 4.523 MB / 0.6949 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.2097, allocations: 1.141 MB / 0.6961 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.2121, allocations: 0.7305 MB / 0.6968 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008705/0.213, allocations: 0.5321 MB / 0.6973 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.2152, allocations: 0.7038 MB / 0.698 GB, free: 7.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=115): time 5.561e-06/0.2152, allocations: 0 / 0.698 GB, free: 7.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=115): time 0.0125/0.2277, allocations: 2.907 MB / 0.7008 GB, free: 4.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.228, allocations: 282 kB / 0.7011 GB, free: 4.094 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.2305, allocations: 1.065 MB / 0.7021 GB, free: 3.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.2307, allocations: 53.69 kB / 0.7022 GB, free: 2.953 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.2315, allocations: 0.5829 MB / 0.7027 GB, free: 2.363 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.232, allocations: 370.6 kB / 0.7031 GB, free: 1.996 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2321, allocations: 20 kB / 0.7031 GB, free: 1.977 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2323, allocations: 345.9 kB / 0.7034 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.2342, allocations: 0.502 MB / 0.7039 GB, free: 1.129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.2362, allocations: 0.6459 MB / 0.7046 GB, free: 448 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.2401, allocations: 1.489 MB / 0.706 GB, free: 14.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.2401, allocations: 4 kB / 0.706 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00588/0.246, allocations: 1.892 MB / 0.7079 GB, free: 12.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.2462, allocations: 212.2 kB / 0.7081 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003921/0.2501, allocations: 1.802 MB / 0.7098 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.2513, allocations: 394.2 kB / 0.7102 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.2519, allocations: 139.8 kB / 0.7103 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007919/0.2599, allocations: 5.77 MB / 0.716 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.2615, allocations: 123.1 kB / 0.7161 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.2617, allocations: 55.92 kB / 0.7162 GB, free: 3.891 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 1 * 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,9,100.0%), (2,8,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008229/0.2625, allocations: 0.5109 MB / 0.7166 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.2627, allocations: 130.4 kB / 0.7168 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.2672, allocations: 1.987 MB / 0.7187 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2672, allocations: 8 kB / 0.7187 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2672, allocations: 7.984 kB / 0.7187 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2672, allocations: 3.984 kB / 0.7187 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3173/0.5846, allocations: 1.339 MB / 0.72 GB, free: 59.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004726/0.5893, allocations: 1.782 MB / 0.7218 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.5899, allocations: 115 kB / 0.7219 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.591, allocations: 395.4 kB / 0.7223 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5911, allocations: 33.34 kB / 0.7223 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/0.5982, allocations: 5.756 MB / 0.7279 GB, free: 54.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5982, allocations: 4.656 kB / 0.7279 GB, free: 54.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.6036, allocations: 1.955 MB / 0.7298 GB, free: 53.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/0.6044, allocations: 375.9 kB / 0.7302 GB, free: 53.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.6046, allocations: 23.61 kB / 0.7302 GB, free: 53.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.6054, allocations: 66.5 kB / 0.7303 GB, free: 53.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/0.6058, allocations: 115.8 kB / 0.7304 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.606, allocations: 43.53 kB / 0.7304 GB, free: 53.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.6071, allocations: 0.7296 MB / 0.7311 GB, free: 53.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6071, allocations: 0 / 0.7311 GB, free: 53.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001364/0.6085, allocations: 418.9 kB / 0.7315 GB, free: 52.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 7 * 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 {(2,8,100.0%), (2,8,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.6097, allocations: 0.599 MB / 0.7321 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.614, allocations: 2.29 MB / 0.7344 GB, free: 51.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6141, allocations: 0 / 0.7344 GB, free: 51.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.6167, allocations: 1.63 MB / 0.736 GB, free: 50.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6178, allocations: 165.3 kB / 0.7361 GB, free: 50.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.6233, allocations: 3.181 MB / 0.7392 GB, free: 48.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.6247, allocations: 1.217 MB / 0.7404 GB, free: 47.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.626, allocations: 186.8 kB / 0.7406 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.6263, allocations: 82.95 kB / 0.7407 GB, free: 47.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6263, allocations: 0 / 0.7407 GB, free: 47.55 MB / 490.7 MB Notification: Performance of Templates: time 0.03336/0.6597, allocations: 18.5 MB / 0.7587 GB, free: 37.81 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.makefile (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.sim & ./BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)