Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 176.9 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008445/0.0008443, allocations: 90.28 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.006e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/0.9254, allocations: 153.9 MB / 1.036 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.9258, allocations: 92.03 kB / 1.036 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04142/0.9672, allocations: 16.93 MB / 1.052 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9672, allocations: 0 / 1.052 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.9673, allocations: 4 kB / 1.052 GB, free: 2.895 MB / 0.6667 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.001096/0.9684, allocations: 0.6101 MB / 1.053 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9684, allocations: 12.03 kB / 1.053 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007957/0.9692, allocations: 103 kB / 1.053 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.9696, allocations: 277.9 kB / 1.053 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.9696, allocations: 12 kB / 1.053 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.9697, allocations: 16 kB / 1.053 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004059/0.9701, allocations: 246.3 kB / 1.054 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.9706, allocations: 336.3 kB / 1.054 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.9706, allocations: 11.88 kB / 1.054 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.9707, allocations: 0 / 1.054 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.9707, allocations: 28.11 kB / 1.054 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.9726, allocations: 1.592 MB / 1.055 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.9734, allocations: 393.5 kB / 1.056 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.9736, allocations: 152.3 kB / 1.056 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.9738, allocations: 93.08 kB / 1.056 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.9742, allocations: 219.2 kB / 1.056 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.566e-06/0.9742, allocations: 0 / 1.056 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.0009868/0.9752, allocations: 439.5 kB / 1.057 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.9752, allocations: 77.11 kB / 1.057 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.9754, allocations: 187.5 kB / 1.057 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.9755, allocations: 25.7 kB / 1.057 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.9756, allocations: 167.4 kB / 1.057 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.9757, allocations: 85.47 kB / 1.057 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.9757, allocations: 8 kB / 1.057 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9759, allocations: 332.6 kB / 1.057 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.9761, allocations: 128.8 kB / 1.058 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.9763, allocations: 199 kB / 1.058 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.9766, allocations: 162.7 kB / 1.058 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9766, allocations: 0 / 1.058 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007121/0.9773, allocations: 423.7 kB / 1.058 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004151/0.9778, allocations: 0.909 MB / 1.059 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.9778, allocations: 0 / 1.059 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.978, allocations: 42.62 kB / 1.059 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.9784, allocations: 90.75 kB / 1.059 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.9798, allocations: 1.432 MB / 1.061 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.9801, allocations: 51.77 kB / 1.061 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.9802, allocations: 18.8 kB / 1.061 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.9802, allocations: 4 kB / 1.061 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006458/0.9808, allocations: 353.6 kB / 1.061 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9809, allocations: 4.062 kB / 1.061 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.981, allocations: 52.28 kB / 1.061 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.9814, allocations: 79.88 kB / 1.061 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.9826, allocations: 1.439 MB / 1.063 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.9829, allocations: 39.94 kB / 1.063 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.983, allocations: 19.8 kB / 1.063 GB, free: 8.746 MB / 0.6823 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.0001588/0.9831, allocations: 112.9 kB / 1.063 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006662/0.9838, allocations: 350.8 kB / 1.063 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.9839, allocations: 27.66 kB / 1.063 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.9846, allocations: 390.1 kB / 1.064 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9846, allocations: 4 kB / 1.064 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.9846, allocations: 0 / 1.064 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9846, allocations: 0 / 1.064 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.9853, allocations: 0.5189 MB / 1.064 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9853, allocations: 0 / 1.064 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.9857, allocations: 79.86 kB / 1.064 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.9858, allocations: 39.39 kB / 1.064 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.9859, allocations: 0 / 1.064 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.987, allocations: 1.361 MB / 1.066 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9871, allocations: 7.984 kB / 1.066 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.9878, allocations: 0.4886 MB / 1.066 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9879, allocations: 139.1 kB / 1.066 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.988, allocations: 4 kB / 1.066 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.9883, allocations: 31.95 kB / 1.066 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.9884, allocations: 31.89 kB / 1.066 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.9884, allocations: 7.875 kB / 1.066 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001344/0.9885, allocations: 163.7 kB / 1.066 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9886, allocations: 4 kB / 1.066 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007194/0.9893, allocations: 131.9 kB / 1.067 GB, free: 5.09 MB / 0.6823 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.001132/0.9904, allocations: 1.258 MB / 1.068 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.9916, allocations: 0.8297 MB / 1.069 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9917, allocations: 0 / 1.069 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.9921, allocations: 275.3 kB / 1.069 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.9924, allocations: 33.97 kB / 1.069 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.9936, allocations: 0.5235 MB / 1.069 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.994, allocations: 0.7952 MB / 1.07 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.9943, allocations: 102 kB / 1.07 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.9945, allocations: 89.84 kB / 1.07 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.9945, allocations: 0 / 1.07 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/1.021, allocations: 6.297 MB / 1.077 GB, free: 11.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/1.021, allocations: 180.5 kB / 1.077 GB, free: 10.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.938, allocations: 3.938 kB / 1.077 GB, free: 10.98 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)