Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") 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 2.053/2.053, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001706/0.001706, allocations: 189.5 kB / 382.3 MB, free: 14.83 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.581/1.581, allocations: 225.7 MB / 0.6617 GB, free: 7.199 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.0008438/0.0008437, allocations: 103.4 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 13.56 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.678, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005884/0.6839, allocations: 4.291 MB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.6889, allocations: 3.886 MB / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.6898, allocations: 21.06 kB / 1.03 GB, free: 51.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.6902, allocations: 86.8 kB / 1.03 GB, free: 51.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.6916, allocations: 419.1 kB / 1.031 GB, free: 51.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.6926, allocations: 341.5 kB / 1.031 GB, free: 51.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.6941, allocations: 1.127 MB / 1.032 GB, free: 51.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.695, allocations: 0.522 MB / 1.033 GB, free: 50.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.6955, allocations: 301.1 kB / 1.033 GB, free: 50.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.696, allocations: 333.2 kB / 1.033 GB, free: 50.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.696, allocations: 17.19 kB / 1.033 GB, free: 50.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.697, allocations: 482.1 kB / 1.034 GB, free: 50.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.6973, allocations: 160 kB / 1.034 GB, free: 50.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.6976, allocations: 321 kB / 1.034 GB, free: 50.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.6985, allocations: 0.8777 MB / 1.035 GB, free: 49.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6985, allocations: 1.469 kB / 1.035 GB, free: 49.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6985, allocations: 0 / 1.035 GB, free: 49.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.6986, allocations: 4 kB / 1.035 GB, free: 49.77 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001119/0.6997, allocations: 0.8242 MB / 1.036 GB, free: 49.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6997, allocations: 7.312 kB / 1.036 GB, free: 49.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.7009, allocations: 203.4 kB / 1.036 GB, free: 49.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.7015, allocations: 0.4906 MB / 1.037 GB, free: 48.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.7016, allocations: 35.7 kB / 1.037 GB, free: 48.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.7016, allocations: 45.31 kB / 1.037 GB, free: 48.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.7026, allocations: 0.8448 MB / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.7026, allocations: 6.719 kB / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.7027, allocations: 24.23 kB / 1.038 GB, free: 48.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.654e-05/0.7028, allocations: 67.45 kB / 1.038 GB, free: 48.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/0.7035, allocations: 0.5666 MB / 1.038 GB, free: 47.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.7068, allocations: 5.643 MB / 1.044 GB, free: 42.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.7075, allocations: 456.9 kB / 1.044 GB, free: 42.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.7078, allocations: 234.8 kB / 1.044 GB, free: 42.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.7078, allocations: 4.281 kB / 1.044 GB, free: 42.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7078, allocations: 30.56 kB / 1.044 GB, free: 42.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.7078, allocations: 2.625 kB / 1.044 GB, free: 42.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002642/0.7105, allocations: 1.508 MB / 1.046 GB, free: 41.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7105, allocations: 59 kB / 1.046 GB, free: 41.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.7111, allocations: 493.6 kB / 1.046 GB, free: 41.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.7111, allocations: 33.64 kB / 1.046 GB, free: 41.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.7113, allocations: 357.8 kB / 1.047 GB, free: 40.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.7114, allocations: 120.1 kB / 1.047 GB, free: 40.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.7114, allocations: 10.31 kB / 1.047 GB, free: 40.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7115, allocations: 366.5 kB / 1.047 GB, free: 40.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.7118, allocations: 191.7 kB / 1.047 GB, free: 40.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.7122, allocations: 442.6 kB / 1.048 GB, free: 40.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.7129, allocations: 0.6898 MB / 1.048 GB, free: 39.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7129, allocations: 7.562 kB / 1.048 GB, free: 39.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001211/0.7141, allocations: 0.803 MB / 1.049 GB, free: 39.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.7142, allocations: 11.19 kB / 1.049 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7142, allocations: 9.625 kB / 1.049 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.7147, allocations: 156 kB / 1.049 GB, free: 39.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.7152, allocations: 128.2 kB / 1.05 GB, free: 39.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.7178, allocations: 4.042 MB / 1.053 GB, free: 35.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.7182, allocations: 32.62 kB / 1.054 GB, free: 35.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.7183, allocations: 30.66 kB / 1.054 GB, free: 35.06 MB / 0.698 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.0002968/0.7186, allocations: 210.8 kB / 1.054 GB, free: 34.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.7187, allocations: 59.72 kB / 1.054 GB, free: 34.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.7197, allocations: 0.6017 MB / 1.054 GB, free: 34.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7197, allocations: 7.984 kB / 1.054 GB, free: 34.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7197, allocations: 0 / 1.054 GB, free: 34.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7197, allocations: 4.5 kB / 1.054 GB, free: 34.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.7216, allocations: 1.256 MB / 1.056 GB, free: 33.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.7216, allocations: 0 / 1.056 GB, free: 33.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.7218, allocations: 57.55 kB / 1.056 GB, free: 33.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003851/0.7222, allocations: 144.6 kB / 1.056 GB, free: 33.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.7223, allocations: 7.312 kB / 1.056 GB, free: 33.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.7245, allocations: 4.029 MB / 1.06 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7245, allocations: 7.656 kB / 1.06 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.7254, allocations: 0.6994 MB / 1.06 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.7257, allocations: 168.3 kB / 1.061 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.7257, allocations: 15.16 kB / 1.061 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.726, allocations: 27.02 kB / 1.061 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.7261, allocations: 29.56 kB / 1.061 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.7261, allocations: 8.984 kB / 1.061 GB, free: 29.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003886/0.7265, allocations: 333.7 kB / 1.061 GB, free: 29.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7265, allocations: 0 / 1.061 GB, free: 29.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006842/0.7272, allocations: 138.3 kB / 1.061 GB, free: 29.09 MB / 0.698 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.0001513/0.7274, allocations: 118.7 kB / 1.061 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.7286, allocations: 1.029 MB / 1.062 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7286, allocations: 0.9375 kB / 1.062 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.7293, allocations: 0.7416 MB / 1.063 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.7304, allocations: 191.7 kB / 1.063 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.7319, allocations: 1.264 MB / 1.064 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.7323, allocations: 0.9039 MB / 1.065 GB, free: 26.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.7327, allocations: 112.7 kB / 1.065 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.7328, allocations: 46.16 kB / 1.065 GB, free: 26.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.001e-06/0.7328, allocations: 3.938 kB / 1.065 GB, free: 26.05 MB / 0.698 GB Notification: Performance of Templates: time 0.01278/0.7456, allocations: 7.266 MB / 1.073 GB, free: 25.56 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)