Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.43/2.43, allocations: 254.9 MB / 269.9 MB, free: 9.656 MB / 218.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.001395/0.001394, allocations: 186.5 kB / 329.5 MB, free: 1.188 MB / 250.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 2.459/2.459, allocations: 225.6 MB / 0.6001 GB, free: 2.293 MB / 426.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.001039/0.001039, allocations: 95.5 kB / 0.7074 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.000487, allocations: 11.44 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 109.1 MB / 0.9308 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002336/0.2256, allocations: 1.669 MB / 0.9324 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00484/0.2305, allocations: 3.427 MB / 0.9357 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2307, allocations: 4 kB / 0.9357 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.231, allocations: 47.75 kB / 0.9358 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.2314, allocations: 107.3 kB / 0.9359 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.2319, allocations: 95.81 kB / 0.936 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.2322, allocations: 219.1 kB / 0.9362 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2324, allocations: 48.56 kB / 0.9362 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.2327, allocations: 91.61 kB / 0.9363 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2329, allocations: 99.58 kB / 0.9364 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.2329, allocations: 8 kB / 0.9364 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.2333, allocations: 111.8 kB / 0.9365 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.2333, allocations: 35.84 kB / 0.9366 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2334, allocations: 53.58 kB / 0.9366 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.2337, allocations: 179.5 kB / 0.9368 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2337, allocations: 0 / 0.9368 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2337, allocations: 0 / 0.9368 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2337, allocations: 4 kB / 0.9368 GB, free: 18.95 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001642/0.2354, allocations: 0.5881 MB / 0.9374 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2355, allocations: 12.03 kB / 0.9374 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.2356, allocations: 20.66 kB / 0.9374 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.2361, allocations: 259.9 kB / 0.9377 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2362, allocations: 8.375 kB / 0.9377 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.2362, allocations: 4.375 kB / 0.9377 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2373, allocations: 197.4 kB / 0.9379 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2374, allocations: 0 / 0.9379 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.2374, allocations: 4 kB / 0.9379 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.2374, allocations: 0 / 0.9379 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2387, allocations: 239.8 kB / 0.9381 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2399, allocations: 0.4885 MB / 0.9386 GB, free: 17 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.2406, allocations: 154.4 kB / 0.9387 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.2412, allocations: 128.8 kB / 0.9388 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.2425, allocations: 0.5728 MB / 0.9394 GB, free: 16.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2426, allocations: 34.56 kB / 0.9394 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.2426, allocations: 0 / 0.9394 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.002111/0.2447, allocations: 417.6 kB / 0.9398 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2448, allocations: 67.28 kB / 0.9399 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.245, allocations: 226.7 kB / 0.9401 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2451, allocations: 25.7 kB / 0.9401 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.2452, allocations: 147.9 kB / 0.9403 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.2452, allocations: 39.53 kB / 0.9403 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.2453, allocations: 0 / 0.9403 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.2453, allocations: 334.8 kB / 0.9406 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.246, allocations: 115.9 kB / 0.9407 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.2466, allocations: 120 kB / 0.9409 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.2473, allocations: 119.9 kB / 0.941 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2473, allocations: 0 / 0.941 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001387/0.2487, allocations: 301.2 kB / 0.9413 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2487, allocations: 4 kB / 0.9413 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2487, allocations: 0 / 0.9413 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2488, allocations: 0 / 0.9413 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.2493, allocations: 63.88 kB / 0.9413 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2494, allocations: 3.938 kB / 0.9413 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.2498, allocations: 39.88 kB / 0.9414 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.2498, allocations: 7.984 kB / 0.9414 GB, free: 13.95 MB / 0.5886 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.25, allocations: 126.4 kB / 0.9415 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.25, allocations: 19.81 kB / 0.9415 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.2515, allocations: 327 kB / 0.9418 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2516, allocations: 11.94 kB / 0.9418 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2516, allocations: 3.938 kB / 0.9418 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2516, allocations: 0 / 0.9418 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.2519, allocations: 269.5 kB / 0.9421 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.252, allocations: 0 / 0.9421 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.2525, allocations: 59.95 kB / 0.9421 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2525, allocations: 0 / 0.9421 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.2525, allocations: 3.984 kB / 0.9422 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2525, allocations: 0 / 0.9422 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2526, allocations: 3.938 kB / 0.9422 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.254, allocations: 403 kB / 0.9425 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2542, allocations: 112.7 kB / 0.9426 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.2542, allocations: 8 kB / 0.9427 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.2547, allocations: 35.95 kB / 0.9427 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.2548, allocations: 19.92 kB / 0.9427 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.2548, allocations: 7.984 kB / 0.9427 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001691/0.255, allocations: 166 kB / 0.9429 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.255, allocations: 0 / 0.9429 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004271/0.2555, allocations: 55.94 kB / 0.9429 GB, free: 12.25 MB / 0.5886 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000265/0.2557, allocations: 139.2 kB / 0.9431 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2571, allocations: 259.8 kB / 0.9433 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2572, allocations: 0 / 0.9433 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/0.2579, allocations: 140.6 kB / 0.9434 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.2585, allocations: 35.11 kB / 0.9435 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2597, allocations: 493.2 kB / 0.9439 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.2599, allocations: 0.7316 MB / 0.9447 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.2603, allocations: 44.83 kB / 0.9447 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2604, allocations: 15.42 kB / 0.9447 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.2604, allocations: 7.938 kB / 0.9447 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of Templates: time 0.007729/0.2682, allocations: 2.312 MB / 0.947 GB, free: 8.047 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)