Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.001215/0.001215, allocations: 190.2 kB / 330.8 MB, free: 488 kB / 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 1.654/1.654, allocations: 225.7 MB / 0.6016 GB, free: 1.637 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.0008585/0.0008586, allocations: 95.56 kB / 0.709 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003784, allocations: 8.531 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 109.2 MB / 0.9328 GB, free: 6.293 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003803/0.1863, allocations: 3.618 MB / 0.9363 GB, free: 2.66 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1888, allocations: 2.285 MB / 0.9385 GB, free: 188 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.189, allocations: 7.938 kB / 0.9385 GB, free: 180 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1892, allocations: 59.5 kB / 0.9386 GB, free: 120 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.1897, allocations: 215.1 kB / 0.9388 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.1904, allocations: 211.5 kB / 0.939 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.1913, allocations: 0.7753 MB / 0.9397 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.1918, allocations: 438.5 kB / 0.9402 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.192, allocations: 191.2 kB / 0.9403 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.1924, allocations: 235.1 kB / 0.9406 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.1925, allocations: 20 kB / 0.9406 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.1928, allocations: 183.6 kB / 0.9408 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.193, allocations: 131.6 kB / 0.9409 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1932, allocations: 200.8 kB / 0.9411 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1937, allocations: 0.5101 MB / 0.9416 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1937, allocations: 0 / 0.9416 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1937, allocations: 4 kB / 0.9416 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1938, allocations: 0 / 0.9416 GB, free: 12.99 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001099/0.1949, allocations: 0.6165 MB / 0.9422 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1949, allocations: 11.98 kB / 0.9422 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.1956, allocations: 108.4 kB / 0.9423 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.196, allocations: 296.7 kB / 0.9426 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.1961, allocations: 63.23 kB / 0.9426 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.1961, allocations: 36.38 kB / 0.9427 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.197, allocations: 0.5087 MB / 0.9432 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.197, allocations: 0 / 0.9432 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.197, allocations: 12 kB / 0.9432 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.1971, allocations: 32.98 kB / 0.9432 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.1977, allocations: 383.7 kB / 0.9436 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.2002, allocations: 2.22 MB / 0.9457 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.2009, allocations: 266.6 kB / 0.946 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.2013, allocations: 160.7 kB / 0.9462 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2013, allocations: 4 kB / 0.9462 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2014, allocations: 38.52 kB / 0.9462 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 3.186e-06/0.2014, allocations: 3.984 kB / 0.9462 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.001541/0.2029, allocations: 0.5862 MB / 0.9468 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.203, allocations: 59.36 kB / 0.9468 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2032, allocations: 220.9 kB / 0.947 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2032, allocations: 33.7 kB / 0.9471 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2034, allocations: 207.7 kB / 0.9473 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.2034, allocations: 74.95 kB / 0.9473 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2035, allocations: 4 kB / 0.9473 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2036, allocations: 330.8 kB / 0.9477 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.2038, allocations: 91.94 kB / 0.9477 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2041, allocations: 188 kB / 0.9479 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.2046, allocations: 277.3 kB / 0.9482 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2046, allocations: 0 / 0.9482 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008545/0.2055, allocations: 390.2 kB / 0.9486 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.2056, allocations: 173.4 kB / 0.9487 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2056, allocations: 4 kB / 0.9487 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/0.2061, allocations: 105.6 kB / 0.9488 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2064, allocations: 55.91 kB / 0.9489 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.2097, allocations: 2.818 MB / 0.9516 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.21, allocations: 35.67 kB / 0.9517 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2101, allocations: 11.94 kB / 0.9517 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.2101, allocations: 12.03 kB / 0.9517 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008996/0.211, allocations: 312.6 kB / 0.952 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.211, allocations: 0 / 0.952 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.2114, allocations: 84.91 kB / 0.9521 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.2117, allocations: 51.91 kB / 0.9521 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.2139, allocations: 1.495 MB / 0.9536 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.2142, allocations: 31.73 kB / 0.9536 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.2142, allocations: 16 kB / 0.9536 GB, free: 15.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.2145, allocations: 254.4 kB / 0.9539 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.2146, allocations: 19.81 kB / 0.9539 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.2147, allocations: 34.17 kB / 0.9539 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2147, allocations: 7.938 kB / 0.9539 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2147, allocations: 0 / 0.9539 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2147, allocations: 0 / 0.9539 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2161, allocations: 0.8326 MB / 0.9547 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2161, allocations: 0 / 0.9547 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2163, allocations: 35.97 kB / 0.9548 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.2167, allocations: 109.6 kB / 0.9549 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.2167, allocations: 4 kB / 0.9549 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.2196, allocations: 2.81 MB / 0.9576 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2196, allocations: 0 / 0.9576 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.2205, allocations: 422.5 kB / 0.958 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.2206, allocations: 116.8 kB / 0.9581 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.2206, allocations: 8 kB / 0.9582 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2208, allocations: 19.98 kB / 0.9582 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2209, allocations: 19.91 kB / 0.9582 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2209, allocations: 11.94 kB / 0.9582 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001676/0.2211, allocations: 160.5 kB / 0.9584 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2211, allocations: 4 kB / 0.9584 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000684/0.2218, allocations: 171.3 kB / 0.9585 GB, free: 10.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.222, allocations: 107.2 kB / 0.9586 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.224, allocations: 0.7713 MB / 0.9594 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.224, allocations: 0 / 0.9594 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.2248, allocations: 377.7 kB / 0.9597 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2253, allocations: 52.62 kB / 0.9598 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2265, allocations: 0.7404 MB / 0.9605 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.2269, allocations: 0.8107 MB / 0.9613 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.2272, allocations: 58.23 kB / 0.9614 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2272, allocations: 19.44 kB / 0.9614 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.2272, allocations: 0 / 0.9614 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of Templates: time 0.009706/0.2369, allocations: 4.246 MB / 0.9655 GB, free: 2.957 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)