Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 177.1 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 0.6305 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 107.4 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 10.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7838/1.019, allocations: 160 MB / 1.136 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.02, allocations: 105.5 kB / 1.136 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03817/1.058, allocations: 17.11 MB / 1.153 GB, free: 23.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.058, allocations: 0 / 1.153 GB, free: 23.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.975e-05/1.058, allocations: 7.984 kB / 1.153 GB, free: 23.38 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.001454/1.06, allocations: 0.6453 MB / 1.153 GB, free: 22.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.06, allocations: 8.031 kB / 1.153 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.06, allocations: 54.36 kB / 1.153 GB, free: 22.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/1.061, allocations: 107.5 kB / 1.153 GB, free: 22.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/1.061, allocations: 266 kB / 1.154 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.061, allocations: 26.86 kB / 1.154 GB, free: 22.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/1.061, allocations: 19.66 kB / 1.154 GB, free: 22.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/1.062, allocations: 422.5 kB / 1.154 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.062, allocations: 3.938 kB / 1.154 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/1.062, allocations: 7.859 kB / 1.154 GB, free: 21.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/1.062, allocations: 19.38 kB / 1.154 GB, free: 21.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/1.063, allocations: 423 kB / 1.154 GB, free: 21.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/1.065, allocations: 1.651 MB / 1.156 GB, free: 19.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.066, allocations: 489.7 kB / 1.157 GB, free: 19.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.066, allocations: 96.14 kB / 1.157 GB, free: 19.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/1.067, allocations: 274.6 kB / 1.157 GB, free: 19.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.535e-06/1.067, allocations: 0 / 1.157 GB, free: 19.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001765/1.069, allocations: 0.7824 MB / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.069, allocations: 92.67 kB / 1.158 GB, free: 18.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/1.069, allocations: 193.1 kB / 1.158 GB, free: 18.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.069, allocations: 33.45 kB / 1.158 GB, free: 18.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.069, allocations: 168.6 kB / 1.158 GB, free: 18.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/1.069, allocations: 96.7 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/1.069, allocations: 7.75 kB / 1.158 GB, free: 18.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.069, allocations: 333.1 kB / 1.159 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/1.07, allocations: 184.6 kB / 1.159 GB, free: 17.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/1.07, allocations: 259 kB / 1.159 GB, free: 17.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/1.07, allocations: 236.8 kB / 1.159 GB, free: 17.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.07, allocations: 0 / 1.159 GB, free: 17.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001033/1.071, allocations: 0.5596 MB / 1.16 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004131/1.072, allocations: 0.904 MB / 1.161 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.072, allocations: 4 kB / 1.161 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/1.072, allocations: 36.58 kB / 1.161 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/1.073, allocations: 91.17 kB / 1.161 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/1.074, allocations: 1.51 MB / 1.162 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/1.074, allocations: 62.72 kB / 1.162 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.074, allocations: 12 kB / 1.162 GB, free: 14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/1.074, allocations: 0 / 1.162 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009499/1.075, allocations: 0.5038 MB / 1.163 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.075, allocations: 7.938 kB / 1.163 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/1.076, allocations: 40.14 kB / 1.163 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/1.076, allocations: 86.92 kB / 1.163 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.077, allocations: 1.496 MB / 1.164 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.077, allocations: 51.36 kB / 1.164 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/1.077, allocations: 15.44 kB / 1.164 GB, free: 11.9 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.000248/1.078, allocations: 239.6 kB / 1.165 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/1.078, allocations: 27.67 kB / 1.165 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009874/1.079, allocations: 492.8 kB / 1.165 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.079, allocations: 4 kB / 1.165 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.079, allocations: 0 / 1.165 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.079, allocations: 4.281 kB / 1.165 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/1.079, allocations: 0.5679 MB / 1.166 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.079, allocations: 0 / 1.166 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/1.08, allocations: 83.92 kB / 1.166 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/1.08, allocations: 46.75 kB / 1.166 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/1.08, allocations: 2.438 kB / 1.166 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.081, allocations: 1.423 MB / 1.167 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.081, allocations: 0 / 1.167 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/1.082, allocations: 0.6045 MB / 1.168 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.083, allocations: 142.8 kB / 1.168 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/1.083, allocations: 7.875 kB / 1.168 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/1.083, allocations: 39.08 kB / 1.168 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.083, allocations: 27.27 kB / 1.168 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/1.083, allocations: 11.88 kB / 1.168 GB, free: 8.367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001785/1.083, allocations: 176 kB / 1.168 GB, free: 8.223 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.083, allocations: 0 / 1.168 GB, free: 8.223 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006761/1.084, allocations: 138.2 kB / 1.168 GB, free: 8.102 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.001669/1.086, allocations: 1.38 MB / 1.17 GB, free: 6.773 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001967/1.088, allocations: 1.011 MB / 1.171 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.088, allocations: 0 / 1.171 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/1.088, allocations: 344.8 kB / 1.171 GB, free: 5.582 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/1.089, allocations: 35.59 kB / 1.171 GB, free: 5.559 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/1.093, allocations: 3.347 MB / 1.174 GB, free: 2.438 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/1.093, allocations: 0.7929 MB / 1.175 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003337/1.094, allocations: 94.47 kB / 1.175 GB, free: 1.539 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/1.094, allocations: 86.28 kB / 1.175 GB, free: 1.508 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/1.094, allocations: 0 / 1.175 GB, free: 1.508 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/1.116, allocations: 6.568 MB / 1.182 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.117, allocations: 239.2 kB / 1.182 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.33, allocations: 0 / 1.182 GB, free: 10.92 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)