Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") 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.721/1.721, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001115/0.001115, allocations: 182 kB / 382.3 MB, free: 14.84 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.477/1.477, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0008692/0.0008693, allocations: 99.31 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.5996, allocations: 119.2 MB / 1.022 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002411/0.602, allocations: 1.793 MB / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.6061, allocations: 4.338 MB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.6063, allocations: 1.031 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.6066, allocations: 43.33 kB / 1.028 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.607, allocations: 119.1 kB / 1.028 GB, free: 52.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.6073, allocations: 120.2 kB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.6076, allocations: 297.8 kB / 1.029 GB, free: 52.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6077, allocations: 55.91 kB / 1.029 GB, free: 52.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.6079, allocations: 121.5 kB / 1.029 GB, free: 52.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.6081, allocations: 129.5 kB / 1.029 GB, free: 52.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.6081, allocations: 8.156 kB / 1.029 GB, free: 52.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.6083, allocations: 113.3 kB / 1.029 GB, free: 52.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.6084, allocations: 48.05 kB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.6085, allocations: 139.8 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.6088, allocations: 321.9 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6088, allocations: 4.547 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6088, allocations: 0 / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.6089, allocations: 0 / 1.03 GB, free: 52.33 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001036/0.6099, allocations: 0.6286 MB / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6099, allocations: 9.25 kB / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.6107, allocations: 150.4 kB / 1.03 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.6114, allocations: 337.5 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6114, allocations: 8.906 kB / 1.031 GB, free: 51.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.6114, allocations: 20.25 kB / 1.031 GB, free: 51.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.6121, allocations: 249.6 kB / 1.031 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6121, allocations: 0 / 1.031 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.6121, allocations: 6.766 kB / 1.031 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.6121, allocations: 6.219 kB / 1.031 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.6131, allocations: 342.7 kB / 1.031 GB, free: 51.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.6143, allocations: 0.5883 MB / 1.032 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.6149, allocations: 204.7 kB / 1.032 GB, free: 50.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.6154, allocations: 188.2 kB / 1.032 GB, free: 50.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007532/0.6161, allocations: 0.576 MB / 1.033 GB, free: 50.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.6161, allocations: 31.08 kB / 1.033 GB, free: 50.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.6162, allocations: 0 / 1.033 GB, free: 50.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001532/0.6177, allocations: 0.5671 MB / 1.034 GB, free: 50.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.6177, allocations: 51.41 kB / 1.034 GB, free: 50.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.6179, allocations: 263 kB / 1.034 GB, free: 49.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.618, allocations: 25.7 kB / 1.034 GB, free: 49.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.618, allocations: 154.7 kB / 1.034 GB, free: 49.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.6181, allocations: 42.31 kB / 1.034 GB, free: 49.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.6181, allocations: 4 kB / 1.034 GB, free: 49.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.6182, allocations: 350 kB / 1.034 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.6186, allocations: 171.8 kB / 1.035 GB, free: 49.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.6191, allocations: 180.1 kB / 1.035 GB, free: 49.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.62, allocations: 346 kB / 1.035 GB, free: 49.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.62, allocations: 2.281 kB / 1.035 GB, free: 49.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009933/0.621, allocations: 430.3 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6211, allocations: 4.25 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6211, allocations: 0 / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6211, allocations: 3.969 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.6215, allocations: 82.86 kB / 1.036 GB, free: 49.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6215, allocations: 0.5312 kB / 1.036 GB, free: 49.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.6219, allocations: 67.55 kB / 1.036 GB, free: 49.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.6219, allocations: 8.688 kB / 1.036 GB, free: 49.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001094/0.622, allocations: 131.9 kB / 1.036 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.6221, allocations: 26.28 kB / 1.036 GB, free: 48.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6232, allocations: 454.7 kB / 1.036 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6232, allocations: 0 / 1.036 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6232, allocations: 2.812 kB / 1.036 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6232, allocations: 3.938 kB / 1.036 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.6236, allocations: 302.2 kB / 1.036 GB, free: 48.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6236, allocations: 0 / 1.036 GB, free: 48.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6239, allocations: 77.42 kB / 1.037 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6239, allocations: 0 / 1.037 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.624, allocations: 7.969 kB / 1.037 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.624, allocations: 0.9375 kB / 1.037 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.624, allocations: 0 / 1.037 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.625, allocations: 0.4999 MB / 1.037 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.6251, allocations: 122 kB / 1.037 GB, free: 48.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.6252, allocations: 5.312 kB / 1.037 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.6255, allocations: 50.19 kB / 1.037 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.6256, allocations: 17.36 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.6256, allocations: 11.45 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001371/0.6258, allocations: 184.4 kB / 1.037 GB, free: 48.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6258, allocations: 0 / 1.037 GB, free: 48.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003219/0.6261, allocations: 75.09 kB / 1.037 GB, free: 48.04 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 (13): * Single equations (assignments): 13 * 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.0002334/0.6263, allocations: 141.9 kB / 1.038 GB, free: 47.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.6275, allocations: 383.6 kB / 1.038 GB, free: 47.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6275, allocations: 3.156 kB / 1.038 GB, free: 47.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.628, allocations: 193 kB / 1.038 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.6284, allocations: 32.52 kB / 1.038 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.6294, allocations: 0.5956 MB / 1.039 GB, free: 47.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.6296, allocations: 0.7512 MB / 1.04 GB, free: 46.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.6299, allocations: 44.17 kB / 1.04 GB, free: 46.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.63, allocations: 20.44 kB / 1.04 GB, free: 46.71 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.63, allocations: 0 / 1.04 GB, free: 46.71 MB / 0.698 GB Notification: Performance of Templates: time 0.006118/0.6361, allocations: 2.92 MB / 1.042 GB, free: 46.52 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)