Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.84/1.84, allocations: 306.1 MB / 321.4 MB, free: 10.69 MB / 250.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.001004/0.001004, allocations: 182.7 kB / 393.1 MB, free: 4.051 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.697/1.697, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.88 kB / 0.7935 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.000388, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8294, allocations: 121.3 MB / 1.041 GB, free: 59.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004721/0.8342, allocations: 3.298 MB / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0036/0.8378, allocations: 2.778 MB / 1.047 GB, free: 54.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.8383, allocations: 12.25 kB / 1.047 GB, free: 54.53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.8386, allocations: 64.25 kB / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009058/0.8396, allocations: 273.4 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.8403, allocations: 228.9 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008583/0.8411, allocations: 0.7379 MB / 1.048 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.8419, allocations: 448.6 kB / 1.049 GB, free: 53.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.8423, allocations: 198.6 kB / 1.049 GB, free: 53.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.8426, allocations: 225.6 kB / 1.049 GB, free: 53.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.8427, allocations: 13.22 kB / 1.049 GB, free: 53.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.8433, allocations: 330.3 kB / 1.049 GB, free: 53.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.8434, allocations: 97.64 kB / 1.049 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.8437, allocations: 218.9 kB / 1.05 GB, free: 53.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.8444, allocations: 0.5842 MB / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8445, allocations: 0 / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8445, allocations: 3.938 kB / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8445, allocations: 1.5 kB / 1.05 GB, free: 53 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.001102/0.8456, allocations: 0.6632 MB / 1.051 GB, free: 52.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.8457, allocations: 15.41 kB / 1.051 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.8465, allocations: 132.1 kB / 1.051 GB, free: 52.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.847, allocations: 381.6 kB / 1.051 GB, free: 52.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.8471, allocations: 24.11 kB / 1.051 GB, free: 52.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.8471, allocations: 30.03 kB / 1.051 GB, free: 52.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.848, allocations: 0.5583 MB / 1.052 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.848, allocations: 6.906 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.848, allocations: 16.67 kB / 1.052 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/0.8481, allocations: 41.73 kB / 1.052 GB, free: 51.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.8488, allocations: 421.2 kB / 1.052 GB, free: 51.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.8512, allocations: 3.33 MB / 1.056 GB, free: 48.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.852, allocations: 337.2 kB / 1.056 GB, free: 48.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.8523, allocations: 183.8 kB / 1.056 GB, free: 48.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.8523, allocations: 2.625 kB / 1.056 GB, free: 48.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.8524, allocations: 35.72 kB / 1.056 GB, free: 48.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.516e-06/0.8524, allocations: 3.094 kB / 1.056 GB, free: 48.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.002097/0.8545, allocations: 1.08 MB / 1.057 GB, free: 47.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.8545, allocations: 55.58 kB / 1.057 GB, free: 47.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.8549, allocations: 339.7 kB / 1.058 GB, free: 47.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.8549, allocations: 31.7 kB / 1.058 GB, free: 47.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.855, allocations: 244.9 kB / 1.058 GB, free: 47.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.8551, allocations: 95.81 kB / 1.058 GB, free: 47.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.8551, allocations: 14.91 kB / 1.058 GB, free: 47.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.8552, allocations: 342.4 kB / 1.058 GB, free: 46.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.8555, allocations: 156.4 kB / 1.058 GB, free: 46.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.8559, allocations: 288.9 kB / 1.059 GB, free: 46.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.8565, allocations: 498.1 kB / 1.059 GB, free: 46.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8565, allocations: 7.938 kB / 1.059 GB, free: 46.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009467/0.8575, allocations: 0.566 MB / 1.06 GB, free: 46.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.8575, allocations: 11.83 kB / 1.06 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8575, allocations: 4.969 kB / 1.06 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.8579, allocations: 88.11 kB / 1.06 GB, free: 45.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.8582, allocations: 95.06 kB / 1.06 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.8583, allocations: 8.219 kB / 1.06 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.8585, allocations: 37.23 kB / 1.06 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.8586, allocations: 19.77 kB / 1.06 GB, free: 45.96 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.0001844/0.8588, allocations: 176.6 kB / 1.06 GB, free: 45.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.8588, allocations: 40.94 kB / 1.06 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.8596, allocations: 480.7 kB / 1.061 GB, free: 45.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.8597, allocations: 3.25 kB / 1.061 GB, free: 45.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/0.8597, allocations: 0 / 1.061 GB, free: 45.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.8597, allocations: 1.453 kB / 1.061 GB, free: 45.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.861, allocations: 0.9728 MB / 1.062 GB, free: 45.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8611, allocations: 4 kB / 1.062 GB, free: 45.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.8613, allocations: 51.67 kB / 1.062 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.8615, allocations: 87 kB / 1.062 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.8616, allocations: 6.844 kB / 1.062 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.8616, allocations: 6.906 kB / 1.062 GB, free: 44.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8616, allocations: 0.5625 kB / 1.062 GB, free: 44.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.8623, allocations: 0.5536 MB / 1.062 GB, free: 44.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.8624, allocations: 140.3 kB / 1.062 GB, free: 44.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.8625, allocations: 6.203 kB / 1.062 GB, free: 44.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.8627, allocations: 22.89 kB / 1.062 GB, free: 44.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.8628, allocations: 30.34 kB / 1.062 GB, free: 44.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.8628, allocations: 7.156 kB / 1.062 GB, free: 44.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002333/0.8631, allocations: 232.5 kB / 1.063 GB, free: 44.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8631, allocations: 0 / 1.063 GB, free: 44.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004007/0.8635, allocations: 85.25 kB / 1.063 GB, free: 44.36 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.0001433/0.8636, allocations: 117.6 kB / 1.063 GB, free: 44.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.8645, allocations: 0.642 MB / 1.064 GB, free: 43.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8645, allocations: 0 / 1.064 GB, free: 43.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.8649, allocations: 439.2 kB / 1.064 GB, free: 43.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.8656, allocations: 122 kB / 1.064 GB, free: 43.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.8668, allocations: 0.8952 MB / 1.065 GB, free: 42.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.8671, allocations: 0.824 MB / 1.066 GB, free: 42.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000274/0.8674, allocations: 78.22 kB / 1.066 GB, free: 42.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.8675, allocations: 31.36 kB / 1.066 GB, free: 42.14 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.8675, allocations: 0 / 1.066 GB, free: 42.14 MB / 0.698 GB Notification: Performance of Templates: time 0.008871/0.8763, allocations: 4.457 MB / 1.07 GB, free: 41.84 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)