Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.845/1.845, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001001/0.001001, allocations: 187.2 kB / 393.1 MB, free: 4.07 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.598/1.598, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000953/0.0009532, allocations: 96.11 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.8083, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00381/0.8122, allocations: 2.643 MB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.8156, allocations: 3.014 MB / 1.046 GB, free: 53.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.816, allocations: 6.312 kB / 1.046 GB, free: 53.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.8162, allocations: 34.83 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.817, allocations: 183 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.8179, allocations: 234.7 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.8186, allocations: 0.4936 MB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009916/0.8196, allocations: 0.6234 MB / 1.048 GB, free: 52.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.82, allocations: 127.4 kB / 1.048 GB, free: 52.9 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.8205, allocations: 179.1 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.8205, allocations: 11.12 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.8212, allocations: 299.2 kB / 1.049 GB, free: 52.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.8213, allocations: 85.34 kB / 1.049 GB, free: 52.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.8215, allocations: 152.5 kB / 1.049 GB, free: 52.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.8221, allocations: 469.7 kB / 1.049 GB, free: 52.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.8221, allocations: 1.922 kB / 1.049 GB, free: 52.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8222, allocations: 1.031 kB / 1.049 GB, free: 52.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8222, allocations: 0 / 1.049 GB, free: 52.46 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.001227/0.8234, allocations: 0.6032 MB / 1.05 GB, free: 51.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8235, allocations: 9.531 kB / 1.05 GB, free: 51.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/0.8241, allocations: 103.7 kB / 1.05 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.8245, allocations: 273.3 kB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.8245, allocations: 19.19 kB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.8246, allocations: 19.91 kB / 1.05 GB, free: 51.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/0.8254, allocations: 428.3 kB / 1.051 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.8255, allocations: 3.938 kB / 1.051 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.8255, allocations: 7.672 kB / 1.051 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.8256, allocations: 29.86 kB / 1.051 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.8264, allocations: 411.2 kB / 1.051 GB, free: 51.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.8281, allocations: 1.619 MB / 1.053 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.8293, allocations: 483.3 kB / 1.053 GB, free: 49.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.8297, allocations: 209 kB / 1.053 GB, free: 49.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.8299, allocations: 93.98 kB / 1.053 GB, free: 49.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.8304, allocations: 271.7 kB / 1.054 GB, free: 49.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.906e-06/0.8304, allocations: 2.766 kB / 1.054 GB, free: 49.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001893/0.8323, allocations: 0.7848 MB / 1.054 GB, free: 49.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.8324, allocations: 80.73 kB / 1.054 GB, free: 49.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.8326, allocations: 232.4 kB / 1.055 GB, free: 48.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.8326, allocations: 30.67 kB / 1.055 GB, free: 48.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.8327, allocations: 166.3 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.8328, allocations: 95.28 kB / 1.055 GB, free: 48.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.8328, allocations: 5.219 kB / 1.055 GB, free: 48.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.8329, allocations: 332.8 kB / 1.055 GB, free: 48.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.8333, allocations: 182.3 kB / 1.055 GB, free: 48.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.8338, allocations: 259.2 kB / 1.056 GB, free: 48.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008117/0.8346, allocations: 478 kB / 1.056 GB, free: 47.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8346, allocations: 1.844 kB / 1.056 GB, free: 47.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001116/0.8357, allocations: 0.5552 MB / 1.057 GB, free: 47.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.8358, allocations: 187.5 kB / 1.057 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8359, allocations: 1.688 kB / 1.057 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.8361, allocations: 47.2 kB / 1.057 GB, free: 47.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.8365, allocations: 85.83 kB / 1.057 GB, free: 47.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.8378, allocations: 1.502 MB / 1.058 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.8381, allocations: 59.41 kB / 1.059 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.8381, allocations: 15.8 kB / 1.059 GB, free: 46.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.8381, allocations: 3.531 kB / 1.059 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009859/0.8391, allocations: 0.5042 MB / 1.059 GB, free: 45.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.8392, allocations: 256 / 1.059 GB, free: 45.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.8393, allocations: 47.67 kB / 1.059 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.8396, allocations: 89.95 kB / 1.059 GB, free: 45.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/0.8405, allocations: 1.474 MB / 1.061 GB, free: 44.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.8408, allocations: 54.8 kB / 1.061 GB, free: 44.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.8408, allocations: 10.94 kB / 1.061 GB, free: 44.43 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.000217/0.8411, allocations: 244.5 kB / 1.061 GB, free: 44.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.8411, allocations: 27.38 kB / 1.061 GB, free: 44.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.8421, allocations: 492 kB / 1.061 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.8421, allocations: 6.125 kB / 1.061 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8421, allocations: 2.094 kB / 1.061 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8421, allocations: 4 kB / 1.061 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.8427, allocations: 0.5645 MB / 1.062 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8427, allocations: 3.031 kB / 1.062 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.8431, allocations: 88.27 kB / 1.062 GB, free: 43.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.8432, allocations: 34.84 kB / 1.062 GB, free: 43.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.8432, allocations: 5.078 kB / 1.062 GB, free: 43.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/0.8441, allocations: 1.418 MB / 1.063 GB, free: 42.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8441, allocations: 0 / 1.063 GB, free: 42.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.845, allocations: 0.5629 MB / 1.064 GB, free: 41.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.8451, allocations: 137.8 kB / 1.064 GB, free: 41.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.8452, allocations: 8.125 kB / 1.064 GB, free: 41.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.8455, allocations: 44.81 kB / 1.064 GB, free: 41.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.8456, allocations: 32.22 kB / 1.064 GB, free: 41.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.8456, allocations: 10.12 kB / 1.064 GB, free: 41.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001443/0.8458, allocations: 177 kB / 1.064 GB, free: 41.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8458, allocations: 0 / 1.064 GB, free: 41.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005526/0.8464, allocations: 132.2 kB / 1.065 GB, free: 41.64 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.0001704/0.8465, allocations: 118.6 kB / 1.065 GB, free: 41.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.8482, allocations: 1.013 MB / 1.066 GB, free: 40.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8482, allocations: 0 / 1.066 GB, free: 40.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.8488, allocations: 342.5 kB / 1.066 GB, free: 40.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.8492, allocations: 47.45 kB / 1.066 GB, free: 40.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.8503, allocations: 0.7313 MB / 1.067 GB, free: 40.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.8506, allocations: 0.7874 MB / 1.068 GB, free: 39.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002991/0.8509, allocations: 95.72 kB / 1.068 GB, free: 39.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.851, allocations: 30.72 kB / 1.068 GB, free: 39.62 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.851, allocations: 4 kB / 1.068 GB, free: 39.61 MB / 0.698 GB Notification: Performance of Templates: time 0.009135/0.8602, allocations: 4.133 MB / 1.072 GB, free: 39.37 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)