Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.826/1.826, allocations: 291.7 MB / 306.8 MB, free: 7.691 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.001255/0.001255, allocations: 174.5 kB / 375.4 MB, free: 5.113 MB / 298.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.403/1.403, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008802/0.0008809, allocations: 99.92 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004098, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7418, allocations: 118.1 MB / 1.011 GB, free: 58.17 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005229/0.7471, allocations: 4.263 MB / 1.015 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.7506, allocations: 2.307 MB / 1.017 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.7509, allocations: 21.09 kB / 1.017 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.7511, allocations: 87.16 kB / 1.017 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008111/0.752, allocations: 347.4 kB / 1.018 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.7527, allocations: 282.4 kB / 1.018 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008386/0.7535, allocations: 0.9822 MB / 1.019 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006943/0.7542, allocations: 467.5 kB / 1.019 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.7546, allocations: 286 kB / 1.02 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.755, allocations: 326.6 kB / 1.02 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.755, allocations: 20.28 kB / 1.02 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.7554, allocations: 198.4 kB / 1.02 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.7556, allocations: 154.1 kB / 1.02 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.7557, allocations: 139.8 kB / 1.021 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.7563, allocations: 0.6398 MB / 1.021 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7563, allocations: 2.781 kB / 1.021 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7563, allocations: 0 / 1.021 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.7563, allocations: 0 / 1.021 GB, free: 56.69 MB / 0.7136 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.001094/0.7574, allocations: 0.8301 MB / 1.022 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7575, allocations: 11.97 kB / 1.022 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.7586, allocations: 197.2 kB / 1.022 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.7592, allocations: 493.2 kB / 1.023 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.7592, allocations: 37.83 kB / 1.023 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.7593, allocations: 47.27 kB / 1.023 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.7602, allocations: 0.8506 MB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.7602, allocations: 6.5 kB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.7603, allocations: 20.34 kB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/0.7604, allocations: 67.03 kB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.7611, allocations: 0.5588 MB / 1.024 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.7644, allocations: 5.653 MB / 1.03 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.765, allocations: 463.6 kB / 1.03 GB, free: 50.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.7653, allocations: 226.7 kB / 1.03 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.7653, allocations: 2.25 kB / 1.03 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.7654, allocations: 42.17 kB / 1.03 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 3.256e-06/0.7654, allocations: 0.8906 kB / 1.03 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002363/0.7677, allocations: 1.51 MB / 1.032 GB, free: 49.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7678, allocations: 55 kB / 1.032 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.7682, allocations: 488.8 kB / 1.032 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.7682, allocations: 32.02 kB / 1.032 GB, free: 49.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.7684, allocations: 352.7 kB / 1.033 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.7685, allocations: 125.6 kB / 1.033 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.7685, allocations: 8.531 kB / 1.033 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.7686, allocations: 370.2 kB / 1.033 GB, free: 49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.7689, allocations: 192 kB / 1.033 GB, free: 49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.7692, allocations: 449.3 kB / 1.034 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.7699, allocations: 0.6785 MB / 1.034 GB, free: 48.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7699, allocations: 6.312 kB / 1.035 GB, free: 48.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001148/0.7711, allocations: 0.8012 MB / 1.035 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7711, allocations: 9.875 kB / 1.035 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.7711, allocations: 8.844 kB / 1.035 GB, free: 48.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.7716, allocations: 159.5 kB / 1.035 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.7721, allocations: 125.8 kB / 1.036 GB, free: 48.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7744, allocations: 4.038 MB / 1.04 GB, free: 44.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.7748, allocations: 37.05 kB / 1.04 GB, free: 44.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.7749, allocations: 25.75 kB / 1.04 GB, free: 44.31 MB / 0.7136 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.7751, allocations: 214.7 kB / 1.04 GB, free: 44.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.7752, allocations: 58.56 kB / 1.04 GB, free: 44.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.7762, allocations: 0.5946 MB / 1.04 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7762, allocations: 7.625 kB / 1.04 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7762, allocations: 2.625 kB / 1.04 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7762, allocations: 8.5 kB / 1.04 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.7781, allocations: 1.251 MB / 1.042 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7781, allocations: 6.562 kB / 1.042 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.7784, allocations: 53.39 kB / 1.042 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.7788, allocations: 140.9 kB / 1.042 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.7788, allocations: 13.47 kB / 1.042 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.7816, allocations: 4.03 MB / 1.046 GB, free: 39.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7816, allocations: 5.312 kB / 1.046 GB, free: 39.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.7827, allocations: 0.699 MB / 1.046 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.7829, allocations: 174 kB / 1.047 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.7829, allocations: 13.28 kB / 1.047 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.7832, allocations: 21.91 kB / 1.047 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.7833, allocations: 31.61 kB / 1.047 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.7833, allocations: 5.688 kB / 1.047 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003427/0.7836, allocations: 331 kB / 1.047 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7836, allocations: 4 kB / 1.047 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006768/0.7843, allocations: 138.7 kB / 1.047 GB, free: 39.01 MB / 0.7136 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.7845, allocations: 112 kB / 1.047 GB, free: 38.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7858, allocations: 1.036 MB / 1.048 GB, free: 38.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7858, allocations: 3.25 kB / 1.048 GB, free: 38.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.7865, allocations: 0.7341 MB / 1.049 GB, free: 37.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7876, allocations: 191.3 kB / 1.049 GB, free: 37.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.7892, allocations: 1.217 MB / 1.05 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.7895, allocations: 0.9049 MB / 1.051 GB, free: 36.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.7899, allocations: 122.8 kB / 1.051 GB, free: 36.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.79, allocations: 37.69 kB / 1.051 GB, free: 36.03 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.79, allocations: 0 / 1.051 GB, free: 36.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.01338/0.8034, allocations: 7.032 MB / 1.058 GB, free: 35.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)