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.517/2.517, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001436/0.001436, allocations: 176.8 kB / 365.7 MB, free: 2.598 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 1.896/1.896, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 100.3 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.845e-05, allocations: 8 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.855, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/1.152, allocations: 159.8 MB / 1.126 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/1.152, allocations: 97.14 kB / 1.126 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07027/1.223, allocations: 17.01 MB / 1.143 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/1.223, allocations: 0 / 1.143 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.823e-05/1.223, allocations: 8 kB / 1.143 GB, free: 7.469 MB / 0.7448 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.001591/1.224, allocations: 0.6093 MB / 1.143 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.224, allocations: 8.031 kB / 1.143 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.226, allocations: 104.7 kB / 1.143 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/1.226, allocations: 282.2 kB / 1.144 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/1.226, allocations: 16.44 kB / 1.144 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/1.226, allocations: 16 kB / 1.144 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/1.227, allocations: 378.9 kB / 1.144 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/1.227, allocations: 0.8438 kB / 1.144 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/1.227, allocations: 8 kB / 1.144 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/1.227, allocations: 24.36 kB / 1.144 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/1.228, allocations: 314.4 kB / 1.144 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/1.232, allocations: 1.662 MB / 1.146 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/1.233, allocations: 389.3 kB / 1.146 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/1.234, allocations: 157.7 kB / 1.147 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/1.234, allocations: 94.78 kB / 1.147 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/1.235, allocations: 226.6 kB / 1.147 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.106e-06/1.235, allocations: 0 / 1.147 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001544/1.236, allocations: 436.8 kB / 1.147 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/1.236, allocations: 85.09 kB / 1.147 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/1.237, allocations: 200.9 kB / 1.148 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/1.237, allocations: 29.7 kB / 1.148 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/1.237, allocations: 172.1 kB / 1.148 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.237, allocations: 94.64 kB / 1.148 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/1.237, allocations: 4 kB / 1.148 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.237, allocations: 334.8 kB / 1.148 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/1.238, allocations: 132.3 kB / 1.148 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/1.238, allocations: 205.4 kB / 1.148 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/1.239, allocations: 186.8 kB / 1.149 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.239, allocations: 3.953 kB / 1.149 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001438/1.24, allocations: 469.2 kB / 1.149 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000444/1.24, allocations: 0.9055 MB / 1.15 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.241, allocations: 6.5 kB / 1.15 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/1.241, allocations: 44.81 kB / 1.15 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/1.242, allocations: 91.11 kB / 1.15 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.244, allocations: 1.489 MB / 1.152 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/1.245, allocations: 55.86 kB / 1.152 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/1.245, allocations: 16 kB / 1.152 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.245, allocations: 5.406 kB / 1.152 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/1.246, allocations: 420.1 kB / 1.152 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.246, allocations: 4 kB / 1.152 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/1.246, allocations: 41.11 kB / 1.152 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/1.247, allocations: 83.88 kB / 1.152 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/1.25, allocations: 1.483 MB / 1.154 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.251, allocations: 51.78 kB / 1.154 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.251, allocations: 15.98 kB / 1.154 GB, free: 11.46 MB / 0.7605 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 () * 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.000365/1.252, allocations: 128.9 kB / 1.154 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.252, allocations: 27.67 kB / 1.154 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/1.254, allocations: 388.2 kB / 1.154 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.254, allocations: 4 kB / 1.154 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.254, allocations: 7.938 kB / 1.154 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.254, allocations: 3.984 kB / 1.154 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.256, allocations: 0.5622 MB / 1.155 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.256, allocations: 0 / 1.155 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/1.257, allocations: 86.39 kB / 1.155 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/1.257, allocations: 36.83 kB / 1.155 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/1.257, allocations: 7.984 kB / 1.155 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/1.26, allocations: 1.417 MB / 1.156 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.26, allocations: 3.953 kB / 1.156 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.262, allocations: 0.5043 MB / 1.157 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/1.262, allocations: 136.6 kB / 1.157 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.263, allocations: 7.984 kB / 1.157 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/1.263, allocations: 39.95 kB / 1.157 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.264, allocations: 37.83 kB / 1.157 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/1.264, allocations: 8 kB / 1.157 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003899/1.264, allocations: 169.4 kB / 1.157 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.51e-07/1.264, allocations: 0 / 1.157 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001457/1.266, allocations: 151.9 kB / 1.157 GB, free: 7.473 MB / 0.7605 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) * 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.0003642/1.266, allocations: 121.5 kB / 1.157 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00328/1.269, allocations: 0.8716 MB / 1.158 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.269, allocations: 3.938 kB / 1.158 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.271, allocations: 291.8 kB / 1.159 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/1.271, allocations: 38.19 kB / 1.159 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/1.274, allocations: 478.3 kB / 1.159 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/1.275, allocations: 0.7924 MB / 1.16 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001086/1.276, allocations: 102 kB / 1.16 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.276, allocations: 23.44 kB / 1.16 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of SimCode: time 1.803e-06/1.276, allocations: 0 / 1.16 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of Templates: time 0.0217/1.298, allocations: 4.299 MB / 1.164 GB, free: 456 kB / 0.7605 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)