Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 292.6 MB / 307.8 MB, free: 7.16 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.0009607/0.0009606, allocations: 180.8 kB / 376.5 MB, free: 4.465 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.541/1.541, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0009163/0.0009164, allocations: 99 kB / 0.7711 GB, free: 50.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 12 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7968, allocations: 118.2 MB / 1.012 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003555/0.8004, allocations: 2.621 MB / 1.015 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.8032, allocations: 1.602 MB / 1.017 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.8033, allocations: 5.875 kB / 1.017 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.8036, allocations: 33.38 kB / 1.017 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.804, allocations: 178.8 kB / 1.017 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.8046, allocations: 210 kB / 1.017 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.8051, allocations: 421.7 kB / 1.017 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.8059, allocations: 409.4 kB / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.8061, allocations: 128.4 kB / 1.018 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.8065, allocations: 172.1 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.8065, allocations: 11.84 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.807, allocations: 295.3 kB / 1.018 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.8071, allocations: 84.62 kB / 1.018 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.8073, allocations: 148.1 kB / 1.019 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.8078, allocations: 351 kB / 1.019 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8078, allocations: 0 / 1.019 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8078, allocations: 0 / 1.019 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8078, allocations: 0.5 kB / 1.019 GB, free: 56.45 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.000988/0.8088, allocations: 0.6051 MB / 1.019 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8088, allocations: 8.906 kB / 1.019 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.8095, allocations: 100.1 kB / 1.02 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.8098, allocations: 274.8 kB / 1.02 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.8098, allocations: 21.98 kB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.8099, allocations: 22.83 kB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.8106, allocations: 426.5 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.8107, allocations: 6.375 kB / 1.02 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.8107, allocations: 10.14 kB / 1.02 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.8107, allocations: 24.47 kB / 1.02 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.8116, allocations: 414.4 kB / 1.021 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.8131, allocations: 1.614 MB / 1.022 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8142, allocations: 489.6 kB / 1.023 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.8146, allocations: 210 kB / 1.023 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.8147, allocations: 88.56 kB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.8153, allocations: 276.7 kB / 1.023 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.893e-06/0.8153, allocations: 3.875 kB / 1.023 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001752/0.817, allocations: 0.7829 MB / 1.024 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.8171, allocations: 81.17 kB / 1.024 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.8173, allocations: 231.3 kB / 1.024 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.8173, allocations: 32.33 kB / 1.024 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.8174, allocations: 162.4 kB / 1.025 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.8175, allocations: 91.77 kB / 1.025 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.8175, allocations: 6.938 kB / 1.025 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.8176, allocations: 340.3 kB / 1.025 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.818, allocations: 175.1 kB / 1.025 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.8184, allocations: 259.3 kB / 1.025 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.8192, allocations: 482.2 kB / 1.026 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8192, allocations: 0 / 1.026 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00102/0.8202, allocations: 0.5602 MB / 1.026 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.8203, allocations: 188.3 kB / 1.027 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8203, allocations: 3.938 kB / 1.027 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.8205, allocations: 48.14 kB / 1.027 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.8209, allocations: 87.28 kB / 1.027 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.822, allocations: 1.499 MB / 1.028 GB, free: 51.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.8223, allocations: 54.27 kB / 1.028 GB, free: 51.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.8224, allocations: 14.97 kB / 1.028 GB, free: 51.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.8224, allocations: 4.406 kB / 1.028 GB, free: 51.49 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009905/0.8234, allocations: 0.5009 MB / 1.029 GB, free: 51.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8234, allocations: 2.656 kB / 1.029 GB, free: 51.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.8236, allocations: 43.88 kB / 1.029 GB, free: 51.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.8239, allocations: 92.08 kB / 1.029 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009848/0.8249, allocations: 1.488 MB / 1.03 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.8252, allocations: 45.67 kB / 1.03 GB, free: 50.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.8252, allocations: 16.92 kB / 1.03 GB, free: 50.09 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.0002062/0.8255, allocations: 240.5 kB / 1.031 GB, free: 49.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.8255, allocations: 28.56 kB / 1.031 GB, free: 49.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009822/0.8265, allocations: 491.1 kB / 1.031 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8265, allocations: 8.906 kB / 1.031 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8265, allocations: 0 / 1.031 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8265, allocations: 0 / 1.031 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.8271, allocations: 0.5623 MB / 1.032 GB, free: 49.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8271, allocations: 2.906 kB / 1.032 GB, free: 49.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.8275, allocations: 87.36 kB / 1.032 GB, free: 49.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.8276, allocations: 37.61 kB / 1.032 GB, free: 49.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.8277, allocations: 8.312 kB / 1.032 GB, free: 49.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/0.8285, allocations: 1.418 MB / 1.033 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8285, allocations: 2.969 kB / 1.033 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.8294, allocations: 0.558 MB / 1.034 GB, free: 48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8296, allocations: 135.9 kB / 1.034 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.8296, allocations: 3.812 kB / 1.034 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.8299, allocations: 45.77 kB / 1.034 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.83, allocations: 37.86 kB / 1.034 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.8301, allocations: 9.344 kB / 1.034 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001447/0.8302, allocations: 170.9 kB / 1.034 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8302, allocations: 2.5 kB / 1.034 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005567/0.8308, allocations: 129.8 kB / 1.034 GB, free: 47.8 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.0001736/0.831, allocations: 121.4 kB / 1.034 GB, free: 47.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.8327, allocations: 1.022 MB / 1.035 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8328, allocations: 0 / 1.035 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.8333, allocations: 342.1 kB / 1.036 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.8338, allocations: 46.44 kB / 1.036 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.835, allocations: 0.7295 MB / 1.036 GB, free: 46.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.8352, allocations: 0.7906 MB / 1.037 GB, free: 46.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.8356, allocations: 93.44 kB / 1.037 GB, free: 46.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.8357, allocations: 27.67 kB / 1.037 GB, free: 46.11 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.8357, allocations: 0 / 1.037 GB, free: 46.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.008226/0.8439, allocations: 4.06 MB / 1.041 GB, free: 45.94 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)