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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.596/1.596, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.0009624/0.0009628, allocations: 178.4 kB / 375.4 MB, free: 5.129 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.484/1.484, 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.001008/0.001009, allocations: 101.3 kB / 0.7699 GB, free: 50.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 8 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8432, allocations: 118.1 MB / 1.011 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003477/0.8467, allocations: 2.628 MB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.8495, allocations: 1.599 MB / 1.015 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.8497, allocations: 7 kB / 1.015 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.8499, allocations: 33.52 kB / 1.015 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.8504, allocations: 157.3 kB / 1.015 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.851, allocations: 190.7 kB / 1.015 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.8515, allocations: 416.1 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.8524, allocations: 405.8 kB / 1.016 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.8526, allocations: 125.7 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.8529, allocations: 170.1 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.853, allocations: 13.31 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.8533, allocations: 140.8 kB / 1.017 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.8534, allocations: 80.94 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.8535, allocations: 69.33 kB / 1.017 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.8539, allocations: 348.4 kB / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8539, allocations: 0.625 kB / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8539, allocations: 0 / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.854, allocations: 0.75 kB / 1.017 GB, free: 56.73 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001168/0.8551, allocations: 0.6091 MB / 1.018 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8552, allocations: 10.84 kB / 1.018 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/0.8558, allocations: 98.61 kB / 1.018 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.8561, allocations: 271.5 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.8562, allocations: 17.88 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.8562, allocations: 23.72 kB / 1.018 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.8569, allocations: 433.3 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.857, allocations: 0 / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.857, allocations: 9.969 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.857, allocations: 27.45 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.8579, allocations: 417.7 kB / 1.019 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.8595, allocations: 1.606 MB / 1.021 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.8606, allocations: 489.9 kB / 1.021 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.8611, allocations: 211 kB / 1.021 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.8612, allocations: 94.12 kB / 1.021 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/0.8618, allocations: 277 kB / 1.022 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.8618, allocations: 1.922 kB / 1.022 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001814/0.8636, allocations: 0.7809 MB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.8636, allocations: 84.48 kB / 1.022 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.8638, allocations: 230.3 kB / 1.023 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.8639, allocations: 34.27 kB / 1.023 GB, free: 54.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.864, allocations: 161.5 kB / 1.023 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.864, allocations: 99.83 kB / 1.023 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.8641, allocations: 3.875 kB / 1.023 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.8641, allocations: 331 kB / 1.023 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.8645, allocations: 186.1 kB / 1.023 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.865, allocations: 259.1 kB / 1.024 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.8658, allocations: 474.8 kB / 1.024 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8658, allocations: 0 / 1.024 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001073/0.8669, allocations: 0.5651 MB / 1.025 GB, free: 53.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.867, allocations: 175.9 kB / 1.025 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.867, allocations: 6.219 kB / 1.025 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.8673, allocations: 45.06 kB / 1.025 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.8676, allocations: 85.05 kB / 1.025 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.8688, allocations: 1.5 MB / 1.026 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.8691, allocations: 53.42 kB / 1.026 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.8691, allocations: 22 kB / 1.026 GB, free: 51.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-06/0.8691, allocations: 4.688 kB / 1.026 GB, free: 51.78 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009495/0.8701, allocations: 0.4958 MB / 1.027 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.8701, allocations: 2.844 kB / 1.027 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.8702, allocations: 41.88 kB / 1.027 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.8706, allocations: 87.88 kB / 1.027 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009225/0.8715, allocations: 1.489 MB / 1.029 GB, free: 50.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.8718, allocations: 49.48 kB / 1.029 GB, free: 50.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.8718, allocations: 14.12 kB / 1.029 GB, free: 50.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.8721, allocations: 240.9 kB / 1.029 GB, free: 50.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.8721, allocations: 24.84 kB / 1.029 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.8732, allocations: 496.5 kB / 1.029 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8732, allocations: 3.062 kB / 1.029 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8732, allocations: 0.75 kB / 1.029 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8732, allocations: 8.797 kB / 1.029 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.8739, allocations: 0.5687 MB / 1.03 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8739, allocations: 0 / 1.03 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.8742, allocations: 85.56 kB / 1.03 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.8744, allocations: 34.22 kB / 1.03 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.8744, allocations: 6.812 kB / 1.03 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008375/0.8752, allocations: 1.422 MB / 1.031 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8752, allocations: 0 / 1.031 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.8761, allocations: 0.5679 MB / 1.032 GB, free: 48.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.8762, allocations: 134.6 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.8763, allocations: 7.406 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.8766, allocations: 43.25 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.8767, allocations: 30.2 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.8767, allocations: 9.5 kB / 1.032 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001428/0.8769, allocations: 171.3 kB / 1.032 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8769, allocations: 0 / 1.032 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005838/0.8775, allocations: 132 kB / 1.032 GB, free: 48.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.8776, allocations: 123.2 kB / 1.033 GB, free: 47.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.8794, allocations: 1.014 MB / 1.034 GB, free: 47.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8794, allocations: 0 / 1.034 GB, free: 47.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.88, allocations: 335.7 kB / 1.034 GB, free: 47.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.8804, allocations: 53.53 kB / 1.034 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.8817, allocations: 0.7286 MB / 1.035 GB, free: 47.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.882, allocations: 0.7887 MB / 1.035 GB, free: 46.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.8824, allocations: 92.83 kB / 1.036 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.8825, allocations: 29.92 kB / 1.036 GB, free: 46.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/0.8825, allocations: 0 / 1.036 GB, free: 46.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.008615/0.8911, allocations: 4.041 MB / 1.039 GB, free: 46.24 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)