Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") 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.676/1.676, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001129/0.001129, allocations: 186.3 kB / 330.8 MB, free: 496 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.761/1.761, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.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.0008115/0.0008115, allocations: 105.4 kB / 0.709 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003825, allocations: 11.38 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 109.2 MB / 0.9328 GB, free: 24.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004998/0.2563, allocations: 4.297 MB / 0.937 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2598, allocations: 3.87 MB / 0.9407 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.2601, allocations: 23.81 kB / 0.9408 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.2604, allocations: 87.16 kB / 0.9408 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007846/0.2612, allocations: 418.1 kB / 0.9412 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.2619, allocations: 347.3 kB / 0.9416 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007948/0.2627, allocations: 1.132 MB / 0.9427 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006274/0.2633, allocations: 0.5171 MB / 0.9432 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2636, allocations: 302.5 kB / 0.9435 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.264, allocations: 334.5 kB / 0.9438 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.264, allocations: 24 kB / 0.9438 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.2646, allocations: 475 kB / 0.9443 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2648, allocations: 155.4 kB / 0.9444 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.265, allocations: 319.9 kB / 0.9447 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.2656, allocations: 0.8799 MB / 0.9456 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2657, allocations: 0 / 0.9456 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2657, allocations: 0 / 0.9456 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2657, allocations: 0 / 0.9456 GB, free: 10.51 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009729/0.2667, allocations: 0.8258 MB / 0.9464 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2667, allocations: 13.11 kB / 0.9464 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.2678, allocations: 203.7 kB / 0.9466 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.2684, allocations: 494.3 kB / 0.9471 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2684, allocations: 33.36 kB / 0.9471 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.2685, allocations: 52.36 kB / 0.9471 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.2693, allocations: 0.8446 MB / 0.948 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2693, allocations: 7.938 kB / 0.948 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.2694, allocations: 27.98 kB / 0.948 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.2695, allocations: 60.95 kB / 0.9481 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.2701, allocations: 0.5616 MB / 0.9486 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.2731, allocations: 5.662 MB / 0.9541 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.2736, allocations: 442.3 kB / 0.9546 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.2739, allocations: 233.2 kB / 0.9548 GB, free: 468 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.2739, allocations: 4 kB / 0.9548 GB, free: 464 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.274, allocations: 38.55 kB / 0.9548 GB, free: 416 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 2.534e-06/0.274, allocations: 4 kB / 0.9548 GB, free: 412 kB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.002566/0.2765, allocations: 1.507 MB / 0.9563 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2766, allocations: 51.69 kB / 0.9564 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.2771, allocations: 494.9 kB / 0.9568 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.2771, allocations: 33.7 kB / 0.9569 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.2774, allocations: 354.8 kB / 0.9572 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.2775, allocations: 126.3 kB / 0.9573 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.2775, allocations: 12 kB / 0.9573 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2776, allocations: 362.8 kB / 0.9577 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.2779, allocations: 193.2 kB / 0.9579 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.2784, allocations: 447 kB / 0.9583 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.2792, allocations: 0.6874 MB / 0.959 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2792, allocations: 4 kB / 0.959 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001332/0.2805, allocations: 0.8059 MB / 0.9597 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2806, allocations: 15.91 kB / 0.9598 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.2806, allocations: 11.98 kB / 0.9598 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.2811, allocations: 152.1 kB / 0.9599 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.2815, allocations: 127.7 kB / 0.96 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.2846, allocations: 4.04 MB / 0.964 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.285, allocations: 31.97 kB / 0.964 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.2851, allocations: 31.94 kB / 0.964 GB, free: 6.125 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.2853, allocations: 218.4 kB / 0.9643 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.2854, allocations: 59.25 kB / 0.9643 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2864, allocations: 0.5891 MB / 0.9649 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2864, allocations: 8 kB / 0.9649 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2865, allocations: 0 / 0.9649 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2865, allocations: 3.938 kB / 0.9649 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2883, allocations: 1.262 MB / 0.9661 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2883, allocations: 0 / 0.9661 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.2885, allocations: 55.89 kB / 0.9662 GB, free: 3.812 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.289, allocations: 144.3 kB / 0.9663 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.289, allocations: 8 kB / 0.9663 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.2921, allocations: 4.02 MB / 0.9703 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2922, allocations: 8.281 kB / 0.9703 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2932, allocations: 0.7081 MB / 0.971 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.2934, allocations: 164.4 kB / 0.9711 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.2935, allocations: 11.94 kB / 0.9711 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2938, allocations: 23.97 kB / 0.9711 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.2938, allocations: 35.89 kB / 0.9712 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.2939, allocations: 8 kB / 0.9712 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000363/0.2942, allocations: 330.8 kB / 0.9715 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2942, allocations: 0 / 0.9715 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006617/0.2949, allocations: 144 kB / 0.9716 GB, free: 13.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.2951, allocations: 119.2 kB / 0.9718 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.2966, allocations: 1.029 MB / 0.9728 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2967, allocations: 0 / 0.9728 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.2975, allocations: 0.7433 MB / 0.9735 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2985, allocations: 189.4 kB / 0.9737 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3002, allocations: 1.255 MB / 0.9749 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3007, allocations: 0.9097 MB / 0.9758 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.301, allocations: 117.3 kB / 0.9759 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.3011, allocations: 47.36 kB / 0.9759 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.3012, allocations: 0 / 0.9759 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.01313/0.3143, allocations: 7.267 MB / 0.983 GB, free: 1.836 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)