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.548/1.548, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 181.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009819/0.0009818, allocations: 95.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 10.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00411/0.2564, allocations: 2.568 MB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.2592, allocations: 1.63 MB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.2594, allocations: 7.938 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.2596, allocations: 27.78 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.2601, allocations: 135.6 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2606, allocations: 191.4 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2608, allocations: 223.5 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.2614, allocations: 374.6 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.2616, allocations: 115.6 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.2619, allocations: 135.5 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.2619, allocations: 12 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.2622, allocations: 135.8 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.2622, allocations: 75.8 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.2623, allocations: 73.56 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.2626, allocations: 339.4 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2627, allocations: 3.938 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2627, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2627, allocations: 4 kB / 0.906 GB, free: 57.75 MB / 0.6042 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.001039/0.2637, allocations: 0.6017 MB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2638, allocations: 16.03 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.2638, allocations: 58.53 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/0.2645, allocations: 107.5 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.2648, allocations: 266.6 kB / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2649, allocations: 16.42 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.2649, allocations: 20 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.2656, allocations: 426.5 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2657, allocations: 0 / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.2657, allocations: 8 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.2657, allocations: 32.36 kB / 0.9075 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.2665, allocations: 420.7 kB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.268, allocations: 1.623 MB / 0.9095 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.269, allocations: 493.6 kB / 0.91 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.2692, allocations: 85.11 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.2697, allocations: 282.5 kB / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.2697, allocations: 0 / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001675/0.2714, allocations: 0.7662 MB / 0.9111 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2714, allocations: 85.3 kB / 0.9112 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2716, allocations: 236.8 kB / 0.9114 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2716, allocations: 29.7 kB / 0.9114 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2717, allocations: 164.4 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.2718, allocations: 94.64 kB / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.2718, allocations: 4 kB / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.2719, allocations: 342.8 kB / 0.912 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.2722, allocations: 180.2 kB / 0.9122 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.2726, allocations: 253.3 kB / 0.9124 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.273, allocations: 237.7 kB / 0.9126 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.273, allocations: 4 kB / 0.9126 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001026/0.274, allocations: 0.5527 MB / 0.9132 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.2743, allocations: 0.9099 MB / 0.9141 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2743, allocations: 8 kB / 0.9141 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.2746, allocations: 44.81 kB / 0.9141 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.2749, allocations: 87.86 kB / 0.9142 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.276, allocations: 1.505 MB / 0.9157 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2764, allocations: 59.84 kB / 0.9157 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2764, allocations: 12 kB / 0.9157 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.2764, allocations: 7.938 kB / 0.9157 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009057/0.2773, allocations: 494.3 kB / 0.9162 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2774, allocations: 8.062 kB / 0.9162 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.2775, allocations: 44.75 kB / 0.9163 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.2778, allocations: 83.88 kB / 0.9163 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/0.2787, allocations: 1.497 MB / 0.9178 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.279, allocations: 47.8 kB / 0.9179 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.279, allocations: 20.06 kB / 0.9179 GB, free: 44.82 MB / 0.6042 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.0001848/0.2792, allocations: 239 kB / 0.9181 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2792, allocations: 24 kB / 0.9181 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009107/0.2802, allocations: 0.5023 MB / 0.9186 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2802, allocations: 0 / 0.9186 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2802, allocations: 7.953 kB / 0.9186 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2802, allocations: 3.984 kB / 0.9186 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.2807, allocations: 0.5545 MB / 0.9192 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2807, allocations: 8.031 kB / 0.9192 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.2811, allocations: 75.92 kB / 0.9192 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.2812, allocations: 36.83 kB / 0.9193 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2812, allocations: 7.953 kB / 0.9193 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00075/0.282, allocations: 1.428 MB / 0.9207 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.282, allocations: 3.938 kB / 0.9207 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.2828, allocations: 0.5978 MB / 0.9213 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2829, allocations: 136.7 kB / 0.9214 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.283, allocations: 15.94 kB / 0.9214 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2833, allocations: 39.95 kB / 0.9215 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.2834, allocations: 35.91 kB / 0.9215 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2834, allocations: 11.94 kB / 0.9215 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001323/0.2836, allocations: 180.5 kB / 0.9217 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2836, allocations: 0 / 0.9217 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005376/0.2841, allocations: 124 kB / 0.9218 GB, free: 40.51 MB / 0.6042 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.001121/0.2852, allocations: 1.349 MB / 0.9231 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.2869, allocations: 1.02 MB / 0.9241 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2869, allocations: 0 / 0.9241 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.2874, allocations: 342.8 kB / 0.9244 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2877, allocations: 32.41 kB / 0.9245 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.2911, allocations: 3.322 MB / 0.9277 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2914, allocations: 0.7995 MB / 0.9285 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.2917, allocations: 94.19 kB / 0.9286 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2919, allocations: 83.41 kB / 0.9287 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.274e-06/0.2919, allocations: 3.938 kB / 0.9287 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.3099, allocations: 6.553 MB / 0.9351 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.3101, allocations: 239 kB / 0.9353 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.268, allocations: 4 kB / 0.9353 GB, free: 26.66 MB / 0.6042 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)