Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001399/0.001399, allocations: 188.8 kB / 329.5 MB, free: 1.172 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.317/2.317, allocations: 225.6 MB / 0.6001 GB, free: 2.242 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.0009975/0.0009974, allocations: 96.31 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005246, allocations: 15.59 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008806/0.2174, allocations: 5.957 MB / 0.9366 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007011/0.2245, allocations: 2.905 MB / 0.9394 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.2259, allocations: 19.88 kB / 0.9394 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2271, allocations: 138.8 kB / 0.9396 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.23, allocations: 413.7 kB / 0.94 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.2325, allocations: 315.3 kB / 0.9403 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.2356, allocations: 1.337 MB / 0.9416 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003732/0.2394, allocations: 0.9562 MB / 0.9425 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.2408, allocations: 398.4 kB / 0.9429 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.2424, allocations: 478.2 kB / 0.9433 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.2427, allocations: 36 kB / 0.9434 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2438, allocations: 195.7 kB / 0.9436 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.2443, allocations: 267.2 kB / 0.9438 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.2447, allocations: 177.3 kB / 0.944 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.2465, allocations: 0.9002 MB / 0.9449 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2466, allocations: 0 / 0.9449 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2466, allocations: 0 / 0.9449 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.2466, allocations: 0 / 0.9449 GB, free: 10.62 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003439/0.2501, allocations: 1.021 MB / 0.9459 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.2502, allocations: 8.031 kB / 0.9459 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.2536, allocations: 231.6 kB / 0.9461 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.255, allocations: 0.5339 MB / 0.9466 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.2551, allocations: 45.69 kB / 0.9467 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.2553, allocations: 64.36 kB / 0.9467 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.2574, allocations: 1.081 MB / 0.9478 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.2575, allocations: 7.938 kB / 0.9478 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.2576, allocations: 28 kB / 0.9478 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.2578, allocations: 85.25 kB / 0.9479 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.2595, allocations: 0.7465 MB / 0.9486 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006782/0.2663, allocations: 5.905 MB / 0.9544 GB, free: 252 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.268, allocations: 0.5554 MB / 0.9549 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.2688, allocations: 330 kB / 0.9552 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.724e-05/0.2689, allocations: 4.438 kB / 0.9552 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.2689, allocations: 39 kB / 0.9553 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.377e-06/0.2689, allocations: 0 / 0.9553 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.006622/0.2756, allocations: 1.986 MB / 0.9572 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2757, allocations: 63.78 kB / 0.9573 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/0.2766, allocations: 0.5469 MB / 0.9578 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.2767, allocations: 37.7 kB / 0.9578 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.2771, allocations: 418.9 kB / 0.9582 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.2774, allocations: 169.6 kB / 0.9584 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.2775, allocations: 12 kB / 0.9584 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.2777, allocations: 378.7 kB / 0.9588 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.2784, allocations: 273.8 kB / 0.959 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/0.2793, allocations: 492.9 kB / 0.9595 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/0.2802, allocations: 346 kB / 0.9598 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2802, allocations: 0 / 0.9598 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00316/0.2834, allocations: 1.083 MB / 0.9609 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.2834, allocations: 12.03 kB / 0.9609 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2835, allocations: 4 kB / 0.9609 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.2849, allocations: 283.1 kB / 0.9612 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/0.2859, allocations: 123.8 kB / 0.9613 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009511/0.2955, allocations: 6.592 MB / 0.9677 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.2966, allocations: 43.97 kB / 0.9678 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.2967, allocations: 24 kB / 0.9678 GB, free: 1.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005378/0.2972, allocations: 257.6 kB / 0.9681 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.2974, allocations: 75.09 kB / 0.9681 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.3001, allocations: 0.8846 MB / 0.969 GB, free: 432 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3002, allocations: 4 kB / 0.969 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3002, allocations: 7.984 kB / 0.969 GB, free: 420 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3002, allocations: 7.969 kB / 0.969 GB, free: 412 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.3047, allocations: 1.713 MB / 0.9707 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3047, allocations: 7.938 kB / 0.9707 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.3053, allocations: 63.89 kB / 0.9707 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.3067, allocations: 267.3 kB / 0.971 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.3068, allocations: 12 kB / 0.971 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009217/0.316, allocations: 6.591 MB / 0.9775 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3161, allocations: 0 / 0.9775 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.3188, allocations: 0.9796 MB / 0.9784 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.3193, allocations: 192.3 kB / 0.9786 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.3195, allocations: 15.94 kB / 0.9786 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.3202, allocations: 32.16 kB / 0.9786 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3203, allocations: 47.88 kB / 0.9787 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.3204, allocations: 20 kB / 0.9787 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006638/0.3211, allocations: 379.1 kB / 0.9791 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3211, allocations: 0 / 0.9791 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001205/0.3223, allocations: 224 kB / 0.9793 GB, free: 5.184 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.3226, allocations: 119.2 kB / 0.9794 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.3258, allocations: 1.271 MB / 0.9806 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3258, allocations: 4.125 kB / 0.9806 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.3279, allocations: 0.8892 MB / 0.9815 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.3298, allocations: 209.3 kB / 0.9817 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.3334, allocations: 1.577 MB / 0.9832 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.3344, allocations: 1.013 MB / 0.9842 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007883/0.3352, allocations: 122.1 kB / 0.9843 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.3354, allocations: 43.44 kB / 0.9844 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.3354, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.03078/0.3662, allocations: 10.27 MB / 0.9944 GB, free: 5.512 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)