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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") 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 1.778/1.778, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001207/0.001207, allocations: 185 kB / 382.3 MB, free: 14.81 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.459/1.459, allocations: 225.7 MB / 0.6617 GB, free: 7.234 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.0009113/0.0009114, allocations: 91.19 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 8 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8681, allocations: 119.2 MB / 1.022 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004939/0.8731, allocations: 3.29 MB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003696/0.8768, allocations: 2.778 MB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.8774, allocations: 11.31 kB / 1.028 GB, free: 53.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.8778, allocations: 60.3 kB / 1.028 GB, free: 53.31 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.8789, allocations: 267.8 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.8797, allocations: 235.2 kB / 1.029 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.8808, allocations: 0.7402 MB / 1.029 GB, free: 52.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.8816, allocations: 444.7 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.8821, allocations: 201.3 kB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.8825, allocations: 231.3 kB / 1.03 GB, free: 52.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.8825, allocations: 15 kB / 1.03 GB, free: 52.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.8832, allocations: 322.5 kB / 1.031 GB, free: 52.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.8834, allocations: 107 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.8836, allocations: 212 kB / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.8843, allocations: 0.5871 MB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8844, allocations: 0 / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8844, allocations: 0 / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.8844, allocations: 0 / 1.032 GB, free: 51.82 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001195/0.8856, allocations: 0.6719 MB / 1.032 GB, free: 51.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8856, allocations: 10.06 kB / 1.032 GB, free: 51.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.8865, allocations: 130.6 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.887, allocations: 379 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.8871, allocations: 25.61 kB / 1.033 GB, free: 50.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.8871, allocations: 27.81 kB / 1.033 GB, free: 50.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/0.888, allocations: 0.5653 MB / 1.033 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.8881, allocations: 5.906 kB / 1.033 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.8881, allocations: 13.09 kB / 1.033 GB, free: 50.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.8882, allocations: 39.48 kB / 1.033 GB, free: 50.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.8888, allocations: 424.2 kB / 1.034 GB, free: 50.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.8913, allocations: 3.322 MB / 1.037 GB, free: 47.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.892, allocations: 346.1 kB / 1.037 GB, free: 47.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.8923, allocations: 182.4 kB / 1.037 GB, free: 47.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.8923, allocations: 3.406 kB / 1.037 GB, free: 47.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.8924, allocations: 38.88 kB / 1.038 GB, free: 47.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.544e-06/0.8924, allocations: 0 / 1.038 GB, free: 47.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.002018/0.8944, allocations: 1.079 MB / 1.039 GB, free: 46.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.8944, allocations: 56.08 kB / 1.039 GB, free: 46.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.8947, allocations: 343.7 kB / 1.039 GB, free: 46.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8948, allocations: 31.17 kB / 1.039 GB, free: 46.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.8949, allocations: 244 kB / 1.039 GB, free: 46.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.895, allocations: 95.91 kB / 1.039 GB, free: 46.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.895, allocations: 5.344 kB / 1.039 GB, free: 46.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.8951, allocations: 349.1 kB / 1.04 GB, free: 45.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.8953, allocations: 147.6 kB / 1.04 GB, free: 45.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.8957, allocations: 302 kB / 1.04 GB, free: 45.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.8963, allocations: 488.5 kB / 1.041 GB, free: 45.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8963, allocations: 0 / 1.041 GB, free: 45.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009569/0.8973, allocations: 0.5744 MB / 1.041 GB, free: 44.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.8973, allocations: 13.53 kB / 1.041 GB, free: 44.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.8974, allocations: 10.25 kB / 1.041 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.8977, allocations: 81.38 kB / 1.041 GB, free: 44.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.8981, allocations: 95.17 kB / 1.041 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.8981, allocations: 8.875 kB / 1.041 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.8984, allocations: 40.17 kB / 1.041 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.8984, allocations: 20.03 kB / 1.041 GB, free: 44.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.8986, allocations: 177.9 kB / 1.042 GB, free: 44.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.8987, allocations: 35.19 kB / 1.042 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008722/0.8996, allocations: 476.4 kB / 1.042 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.8996, allocations: 4.422 kB / 1.042 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8996, allocations: 0 / 1.042 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8996, allocations: 3.375 kB / 1.042 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.901, allocations: 0.9749 MB / 1.043 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9011, allocations: 2.125 kB / 1.043 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.9013, allocations: 58.3 kB / 1.043 GB, free: 43.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.9015, allocations: 86.58 kB / 1.043 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.9016, allocations: 3.844 kB / 1.043 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.9016, allocations: 7.188 kB / 1.043 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9016, allocations: 0 / 1.043 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.9024, allocations: 0.5618 MB / 1.044 GB, free: 43.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.9026, allocations: 138.7 kB / 1.044 GB, free: 43.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.9026, allocations: 2.5 kB / 1.044 GB, free: 43.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.9029, allocations: 26.84 kB / 1.044 GB, free: 43.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.9029, allocations: 25.55 kB / 1.044 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.903, allocations: 4.844 kB / 1.044 GB, free: 43.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002347/0.9032, allocations: 237.5 kB / 1.044 GB, free: 43.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9032, allocations: 4 kB / 1.044 GB, free: 43.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004378/0.9037, allocations: 84.72 kB / 1.044 GB, free: 43.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.9038, allocations: 115.3 kB / 1.044 GB, free: 43.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.9047, allocations: 0.6328 MB / 1.045 GB, free: 42.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9047, allocations: 1.25 kB / 1.045 GB, free: 42.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.9051, allocations: 450.4 kB / 1.045 GB, free: 42.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.9058, allocations: 118.2 kB / 1.045 GB, free: 42.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.907, allocations: 0.8983 MB / 1.046 GB, free: 41.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.9073, allocations: 0.8223 MB / 1.047 GB, free: 40.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.9076, allocations: 83.64 kB / 1.047 GB, free: 40.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.9076, allocations: 27.97 kB / 1.047 GB, free: 40.96 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.9076, allocations: 0 / 1.047 GB, free: 40.96 MB / 0.698 GB Notification: Performance of Templates: time 0.009578/0.9172, allocations: 4.457 MB / 1.052 GB, free: 40.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)