Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") 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.697/1.697, allocations: 297.4 MB / 312.6 MB, free: 2.898 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.001107/0.001108, allocations: 188.9 kB / 382.3 MB, free: 14.82 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.529/1.529, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0009192/0.0009193, allocations: 92.81 kB / 0.7789 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 12 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8898, allocations: 119.2 MB / 1.022 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004098/0.8939, allocations: 2.647 MB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.8973, allocations: 3.018 MB / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.8975, allocations: 6.188 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.8977, allocations: 35.55 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.8982, allocations: 184.9 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.8989, allocations: 234.2 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.8993, allocations: 498.7 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.9001, allocations: 0.6281 MB / 1.029 GB, free: 53.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.9003, allocations: 128.5 kB / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.9006, allocations: 177.1 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.9007, allocations: 12.88 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.9012, allocations: 295.4 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.9013, allocations: 86.94 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.9015, allocations: 157.8 kB / 1.03 GB, free: 52.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.902, allocations: 468.5 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9021, allocations: 0 / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9021, allocations: 0.7188 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.9021, allocations: 1.469 kB / 1.031 GB, free: 52.52 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001114/0.9032, allocations: 0.6011 MB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.9033, allocations: 10.38 kB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.9039, allocations: 101.8 kB / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.9043, allocations: 275.2 kB / 1.032 GB, free: 51.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9044, allocations: 14.16 kB / 1.032 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.9044, allocations: 18.5 kB / 1.032 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.9052, allocations: 434.4 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9052, allocations: 7.125 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.9053, allocations: 7.984 kB / 1.032 GB, free: 51.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.9053, allocations: 26.95 kB / 1.032 GB, free: 51.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.9062, allocations: 413.6 kB / 1.032 GB, free: 51.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.9079, allocations: 1.614 MB / 1.034 GB, free: 50.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.9091, allocations: 489.1 kB / 1.034 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.9095, allocations: 208.6 kB / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.9097, allocations: 90.44 kB / 1.035 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.9102, allocations: 276 kB / 1.035 GB, free: 49.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.535e-06/0.9102, allocations: 1.031 kB / 1.035 GB, free: 49.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001867/0.9121, allocations: 0.78 MB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.9122, allocations: 89.19 kB / 1.036 GB, free: 49.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.9124, allocations: 229.5 kB / 1.036 GB, free: 49.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.9125, allocations: 32.05 kB / 1.036 GB, free: 49.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.9126, allocations: 162.8 kB / 1.036 GB, free: 48.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.9127, allocations: 96.47 kB / 1.036 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.9127, allocations: 7.062 kB / 1.036 GB, free: 48.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9128, allocations: 334.3 kB / 1.037 GB, free: 48.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.9133, allocations: 181.3 kB / 1.037 GB, free: 48.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.9137, allocations: 259.5 kB / 1.037 GB, free: 48.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.9146, allocations: 479.9 kB / 1.038 GB, free: 48.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9146, allocations: 0 / 1.038 GB, free: 48.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001074/0.9156, allocations: 0.5579 MB / 1.038 GB, free: 47.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.9158, allocations: 187.8 kB / 1.038 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.9158, allocations: 2.25 kB / 1.038 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.916, allocations: 49.67 kB / 1.038 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.9164, allocations: 85.44 kB / 1.038 GB, free: 47.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.9177, allocations: 1.502 MB / 1.04 GB, free: 46.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.918, allocations: 59.48 kB / 1.04 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.9181, allocations: 12.59 kB / 1.04 GB, free: 46.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.9181, allocations: 1.625 kB / 1.04 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/0.9191, allocations: 0.5079 MB / 1.04 GB, free: 45.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.9192, allocations: 0 / 1.04 GB, free: 45.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.9193, allocations: 37.78 kB / 1.041 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.9196, allocations: 93.58 kB / 1.041 GB, free: 45.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009299/0.9206, allocations: 1.479 MB / 1.042 GB, free: 44.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.9209, allocations: 57.22 kB / 1.042 GB, free: 44.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.9209, allocations: 11.42 kB / 1.042 GB, free: 44.5 MB / 0.698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.9212, allocations: 240.4 kB / 1.042 GB, free: 44.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.9212, allocations: 28.5 kB / 1.042 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.9223, allocations: 0.4884 MB / 1.043 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9223, allocations: 3.734 kB / 1.043 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.9223, allocations: 1.594 kB / 1.043 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9223, allocations: 0.7969 kB / 1.043 GB, free: 44.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.923, allocations: 0.5714 MB / 1.043 GB, free: 43.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.923, allocations: 0 / 1.043 GB, free: 43.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.9234, allocations: 84.69 kB / 1.043 GB, free: 43.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.9235, allocations: 35.22 kB / 1.044 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.9235, allocations: 15.34 kB / 1.044 GB, free: 43.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008674/0.9244, allocations: 1.405 MB / 1.045 GB, free: 42.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9244, allocations: 4.062 kB / 1.045 GB, free: 42.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.9254, allocations: 0.5611 MB / 1.045 GB, free: 41.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9255, allocations: 136.1 kB / 1.046 GB, free: 41.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.9256, allocations: 7.219 kB / 1.046 GB, free: 41.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.9259, allocations: 40.17 kB / 1.046 GB, free: 41.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.926, allocations: 35 kB / 1.046 GB, free: 41.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.926, allocations: 5.875 kB / 1.046 GB, free: 41.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9262, allocations: 175.9 kB / 1.046 GB, free: 41.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9262, allocations: 0 / 1.046 GB, free: 41.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005873/0.9268, allocations: 129.9 kB / 1.046 GB, free: 41.71 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: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.927, allocations: 122 kB / 1.046 GB, free: 41.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.9287, allocations: 1.018 MB / 1.047 GB, free: 41.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9287, allocations: 1.062 kB / 1.047 GB, free: 41.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.9293, allocations: 345.2 kB / 1.047 GB, free: 40.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.9298, allocations: 40.53 kB / 1.047 GB, free: 40.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.9309, allocations: 0.7332 MB / 1.048 GB, free: 40.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.9312, allocations: 0.7947 MB / 1.049 GB, free: 39.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.9315, allocations: 98.53 kB / 1.049 GB, free: 39.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.9316, allocations: 27.5 kB / 1.049 GB, free: 39.69 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.9316, allocations: 6.844 kB / 1.049 GB, free: 39.68 MB / 0.698 GB Notification: Performance of Templates: time 0.00813/0.9397, allocations: 4.147 MB / 1.053 GB, free: 39.44 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)