Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.781/2.781, allocations: 287.5 MB / 302.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 179.9 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 86.17 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004874, allocations: 15.62 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9907/1.206, allocations: 159.8 MB / 1.134 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.207, allocations: 97.75 kB / 1.135 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06636/1.273, allocations: 17.1 MB / 1.151 GB, free: 24.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.273, allocations: 7.938 kB / 1.151 GB, free: 24.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.042e-05/1.273, allocations: 7.812 kB / 1.151 GB, free: 24.45 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.001695/1.275, allocations: 0.6296 MB / 1.152 GB, free: 23.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.275, allocations: 7.719 kB / 1.152 GB, free: 23.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.276, allocations: 101.3 kB / 1.152 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/1.277, allocations: 288.2 kB / 1.152 GB, free: 23.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.277, allocations: 18.58 kB / 1.152 GB, free: 23.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/1.277, allocations: 22 kB / 1.152 GB, free: 23.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.278, allocations: 420.6 kB / 1.153 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/1.278, allocations: 7.906 kB / 1.153 GB, free: 23.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/1.278, allocations: 7.25 kB / 1.153 GB, free: 23.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/1.278, allocations: 27.11 kB / 1.153 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/1.28, allocations: 405.5 kB / 1.153 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/1.283, allocations: 1.654 MB / 1.155 GB, free: 21.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/1.285, allocations: 495.4 kB / 1.155 GB, free: 20.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/1.285, allocations: 93.09 kB / 1.155 GB, free: 20.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008281/1.286, allocations: 280.2 kB / 1.156 GB, free: 20.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.775e-06/1.286, allocations: 0 / 1.156 GB, free: 20.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.002993/1.289, allocations: 0.7789 MB / 1.156 GB, free: 19.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.289, allocations: 85.05 kB / 1.156 GB, free: 19.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/1.289, allocations: 202.7 kB / 1.157 GB, free: 19.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/1.289, allocations: 29.58 kB / 1.157 GB, free: 19.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.29, allocations: 167.6 kB / 1.157 GB, free: 19.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/1.29, allocations: 99.52 kB / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/1.29, allocations: 3.25 kB / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.29, allocations: 334.6 kB / 1.157 GB, free: 19.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/1.291, allocations: 185.1 kB / 1.157 GB, free: 18.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/1.291, allocations: 253.6 kB / 1.158 GB, free: 18.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/1.292, allocations: 231.1 kB / 1.158 GB, free: 18.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.292, allocations: 0 / 1.158 GB, free: 18.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001856/1.294, allocations: 0.5638 MB / 1.158 GB, free: 18.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003784/1.294, allocations: 0.9071 MB / 1.159 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.294, allocations: 8 kB / 1.159 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/1.295, allocations: 39.94 kB / 1.159 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/1.296, allocations: 91.17 kB / 1.159 GB, free: 16.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/1.297, allocations: 1.507 MB / 1.161 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/1.298, allocations: 51.2 kB / 1.161 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/1.298, allocations: 15.88 kB / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.298, allocations: 4 kB / 1.161 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001739/1.3, allocations: 0.4989 MB / 1.161 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/1.3, allocations: 4 kB / 1.161 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/1.3, allocations: 43.31 kB / 1.162 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/1.301, allocations: 87.91 kB / 1.162 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.303, allocations: 1.491 MB / 1.163 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006104/1.303, allocations: 51.88 kB / 1.163 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.303, allocations: 23.38 kB / 1.163 GB, free: 13.28 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 (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.0003452/1.304, allocations: 242.5 kB / 1.163 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/1.304, allocations: 27.67 kB / 1.163 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.305, allocations: 0.4888 MB / 1.164 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.305, allocations: 4 kB / 1.164 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.305, allocations: 4 kB / 1.164 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.305, allocations: 7.922 kB / 1.164 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/1.306, allocations: 0.5595 MB / 1.164 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.306, allocations: 4 kB / 1.164 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/1.307, allocations: 83.39 kB / 1.165 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/1.307, allocations: 36.27 kB / 1.165 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/1.307, allocations: 3.75 kB / 1.165 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/1.309, allocations: 1.422 MB / 1.166 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.309, allocations: 3.953 kB / 1.166 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/1.311, allocations: 0.5987 MB / 1.167 GB, free: 9.961 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.311, allocations: 139.2 kB / 1.167 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/1.311, allocations: 7.562 kB / 1.167 GB, free: 9.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/1.312, allocations: 43.45 kB / 1.167 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.312, allocations: 31.11 kB / 1.167 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/1.312, allocations: 11.98 kB / 1.167 GB, free: 9.738 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002378/1.312, allocations: 171.8 kB / 1.167 GB, free: 9.598 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.312, allocations: 0 / 1.167 GB, free: 9.598 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008494/1.313, allocations: 147.6 kB / 1.167 GB, free: 9.469 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 (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.0002264/1.313, allocations: 133.9 kB / 1.167 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.316, allocations: 1.002 MB / 1.168 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.316, allocations: 0 / 1.168 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.317, allocations: 345.3 kB / 1.168 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/1.318, allocations: 44.66 kB / 1.169 GB, free: 8.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.32, allocations: 0.7398 MB / 1.169 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/1.32, allocations: 0.7903 MB / 1.17 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005847/1.321, allocations: 98.19 kB / 1.17 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/1.321, allocations: 30.8 kB / 1.17 GB, free: 6.473 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.321, allocations: 3.938 kB / 1.17 GB, free: 6.469 MB / 0.698 GB Notification: Performance of Templates: time 0.01277/1.334, allocations: 4.024 MB / 1.174 GB, free: 2.469 MB / 0.698 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)