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.687/1.687, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001275/0.001275, allocations: 180.9 kB / 361.4 MB, free: 6.801 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.782/1.782, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008216/0.0008216, allocations: 92.22 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.834e-05, allocations: 4 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7027, allocations: 115.3 MB / 0.9645 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.9149, allocations: 159.3 MB / 1.12 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9153, allocations: 92.47 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04716/0.9624, allocations: 16.94 MB / 1.137 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9625, allocations: 0 / 1.137 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.9625, allocations: 4 kB / 1.137 GB, free: 11.31 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.001363/0.9639, allocations: 0.6133 MB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.964, allocations: 12.03 kB / 1.137 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.9649, allocations: 100.5 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.9654, allocations: 279.5 kB / 1.138 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.9654, allocations: 8 kB / 1.138 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.9655, allocations: 12 kB / 1.138 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000486/0.966, allocations: 242.7 kB / 1.138 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.9666, allocations: 345.8 kB / 1.138 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.9667, allocations: 0 / 1.138 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.9667, allocations: 7.938 kB / 1.138 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.9668, allocations: 24.36 kB / 1.138 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.969, allocations: 1.595 MB / 1.14 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.9699, allocations: 384.8 kB / 1.14 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.9701, allocations: 157.7 kB / 1.14 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.9703, allocations: 89.09 kB / 1.14 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.9707, allocations: 215.2 kB / 1.141 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.9707, allocations: 0 / 1.141 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.00109/0.9718, allocations: 432.8 kB / 1.141 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.9718, allocations: 81.11 kB / 1.141 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.972, allocations: 187.2 kB / 1.141 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.9721, allocations: 25.7 kB / 1.141 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.9722, allocations: 172 kB / 1.141 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.9723, allocations: 86.66 kB / 1.142 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.9723, allocations: 0 / 1.142 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9724, allocations: 338.8 kB / 1.142 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.9726, allocations: 128.4 kB / 1.142 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.9729, allocations: 197.2 kB / 1.142 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.9732, allocations: 164.1 kB / 1.142 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9732, allocations: 0 / 1.142 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009249/0.9742, allocations: 428.6 kB / 1.143 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.9746, allocations: 0.9027 MB / 1.144 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9746, allocations: 7.969 kB / 1.144 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.9749, allocations: 36.83 kB / 1.144 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.9754, allocations: 91.86 kB / 1.144 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.9769, allocations: 1.43 MB / 1.145 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.9773, allocations: 54.39 kB / 1.145 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.9774, allocations: 12 kB / 1.145 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.9774, allocations: 7.938 kB / 1.145 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008016/0.9782, allocations: 363.3 kB / 1.146 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9782, allocations: 9.844 kB / 1.146 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.9784, allocations: 44.81 kB / 1.146 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.9788, allocations: 87.81 kB / 1.146 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.9802, allocations: 1.426 MB / 1.147 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.9805, allocations: 42.86 kB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.9805, allocations: 20.06 kB / 1.147 GB, free: 15.85 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.0001339/0.9807, allocations: 112.9 kB / 1.147 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007177/0.9814, allocations: 353.9 kB / 1.148 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.9815, allocations: 23.72 kB / 1.148 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.9823, allocations: 380.1 kB / 1.148 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.9823, allocations: 4 kB / 1.148 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.9823, allocations: 0 / 1.148 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.9823, allocations: 3.984 kB / 1.148 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.983, allocations: 0.512 MB / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.983, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.9834, allocations: 87.95 kB / 1.149 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.9836, allocations: 32.83 kB / 1.149 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.9836, allocations: 7.984 kB / 1.149 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.9847, allocations: 1.355 MB / 1.15 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9847, allocations: 6.75 kB / 1.15 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.9855, allocations: 0.4925 MB / 1.15 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.9857, allocations: 128.7 kB / 1.151 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.9857, allocations: 7.938 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.986, allocations: 39.95 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.9862, allocations: 31.94 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.9862, allocations: 8 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001766/0.9864, allocations: 160.5 kB / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9864, allocations: 0 / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007023/0.9871, allocations: 123.9 kB / 1.151 GB, free: 11.75 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.001202/0.9883, allocations: 1.28 MB / 1.152 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.9898, allocations: 0.8284 MB / 1.153 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9898, allocations: 0 / 1.153 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.9903, allocations: 277.8 kB / 1.153 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.9907, allocations: 32.41 kB / 1.153 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.9923, allocations: 0.5231 MB / 1.154 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9927, allocations: 0.7962 MB / 1.155 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004721/0.9932, allocations: 99.47 kB / 1.155 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.9934, allocations: 87.39 kB / 1.155 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of SimCode: time 1.212e-06/0.9934, allocations: 0.9375 kB / 1.155 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/1.022, allocations: 6.293 MB / 1.161 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.022, allocations: 171.1 kB / 1.161 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.284, allocations: 0 / 1.161 GB, free: 1.305 MB / 0.7605 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)