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.774/1.774, allocations: 285.4 MB / 298 MB, free: 6.035 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.00113/0.00113, allocations: 180.9 kB / 366.4 MB, free: 2.121 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.529/1.529, allocations: 205.1 MB / 0.6248 GB, free: 7.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 87.77 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.134e-05, allocations: 7.984 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6605, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.8743, allocations: 159.9 MB / 1.127 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.8747, allocations: 103 kB / 1.127 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04302/0.9177, allocations: 16.99 MB / 1.144 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9178, allocations: 4 kB / 1.144 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.9178, allocations: 4 kB / 1.144 GB, free: 6.695 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.001056/0.9188, allocations: 0.6141 MB / 1.144 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9189, allocations: 8.031 kB / 1.144 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.919, allocations: 58.55 kB / 1.145 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.9198, allocations: 107.5 kB / 1.145 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.9201, allocations: 279.7 kB / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.9202, allocations: 16.42 kB / 1.145 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.9202, allocations: 16 kB / 1.145 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.9208, allocations: 374.9 kB / 1.145 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.9209, allocations: 0 / 1.145 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.9209, allocations: 12 kB / 1.145 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.921, allocations: 20.36 kB / 1.145 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.9215, allocations: 320.9 kB / 1.146 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.9235, allocations: 1.657 MB / 1.147 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.9244, allocations: 393.3 kB / 1.148 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.9247, allocations: 160.7 kB / 1.148 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.9249, allocations: 97.08 kB / 1.148 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.9252, allocations: 232.6 kB / 1.148 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.9253, allocations: 0 / 1.148 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009634/0.9262, allocations: 424.9 kB / 1.149 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.9263, allocations: 89.2 kB / 1.149 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.9265, allocations: 200.8 kB / 1.149 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.9266, allocations: 29.7 kB / 1.149 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.9267, allocations: 164.1 kB / 1.149 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.554e-05/0.9268, allocations: 102.6 kB / 1.149 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.9268, allocations: 4 kB / 1.149 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9269, allocations: 330.8 kB / 1.149 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.9271, allocations: 132.3 kB / 1.15 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.9274, allocations: 217.1 kB / 1.15 GB, free: 324 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.9277, allocations: 183.1 kB / 1.15 GB, free: 136 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9277, allocations: 4 kB / 1.15 GB, free: 132 kB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007968/0.9285, allocations: 473.4 kB / 1.15 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/0.9289, allocations: 0.902 MB / 1.151 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9289, allocations: 0 / 1.151 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.9291, allocations: 44.83 kB / 1.151 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.9295, allocations: 88.55 kB / 1.151 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.9308, allocations: 1.491 MB / 1.153 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.9312, allocations: 55.89 kB / 1.153 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.9312, allocations: 15.98 kB / 1.153 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.9313, allocations: 7.938 kB / 1.153 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00068/0.9319, allocations: 414.1 kB / 1.153 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.932, allocations: 7.219 kB / 1.153 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.9321, allocations: 36.83 kB / 1.153 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.9325, allocations: 91.86 kB / 1.153 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.9337, allocations: 1.485 MB / 1.155 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.934, allocations: 47.8 kB / 1.155 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.9341, allocations: 16.06 kB / 1.155 GB, free: 10.6 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.0001364/0.9342, allocations: 125.6 kB / 1.155 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.9343, allocations: 32.53 kB / 1.155 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.935, allocations: 392.6 kB / 1.155 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.935, allocations: 4 kB / 1.155 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.935, allocations: 0 / 1.155 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.935, allocations: 4 kB / 1.155 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.9357, allocations: 0.5691 MB / 1.156 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9357, allocations: 0 / 1.156 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.9361, allocations: 85.55 kB / 1.156 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.9363, allocations: 36.83 kB / 1.156 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.9363, allocations: 4 kB / 1.156 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.9374, allocations: 1.411 MB / 1.158 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9374, allocations: 0 / 1.158 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.9381, allocations: 0.5116 MB / 1.158 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.9382, allocations: 140.8 kB / 1.158 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.9383, allocations: 11.98 kB / 1.158 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.9386, allocations: 43.95 kB / 1.158 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.9387, allocations: 27.95 kB / 1.158 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.9387, allocations: 11.98 kB / 1.158 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001547/0.9389, allocations: 169.4 kB / 1.158 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9389, allocations: 0 / 1.158 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005826/0.9395, allocations: 140 kB / 1.159 GB, free: 6.629 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.001139/0.9406, allocations: 1.28 MB / 1.16 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.9419, allocations: 0.8716 MB / 1.161 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.942, allocations: 1.125 kB / 1.161 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.9424, allocations: 299.8 kB / 1.161 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.9427, allocations: 44.14 kB / 1.161 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.9439, allocations: 0.5412 MB / 1.161 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.9443, allocations: 0.7885 MB / 1.162 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003582/0.9447, allocations: 103.4 kB / 1.162 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9448, allocations: 87.41 kB / 1.162 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of SimCode: time 3.41e-07/0.9449, allocations: 0 / 1.162 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.9638, allocations: 6.855 MB / 1.169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.964, allocations: 208.7 kB / 1.169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/3.104, allocations: 2.344 kB / 1.169 GB, free: 11.67 MB / 0.7761 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)