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.405/1.405, allocations: 252 MB / 267 MB, free: 10.98 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.00117/0.00117, allocations: 188.4 kB / 326.6 MB, free: 2.23 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.929/1.929, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.0009387/0.0009386, allocations: 87.11 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 11.72 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2311, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00339/0.2346, allocations: 2.618 MB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.2372, allocations: 1.661 MB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.2375, allocations: 11.94 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.2377, allocations: 31.72 kB / 0.9045 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.2383, allocations: 143.3 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.239, allocations: 187.6 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.2395, allocations: 414.6 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.2401, allocations: 378.5 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2403, allocations: 127.5 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2406, allocations: 175.4 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2406, allocations: 12 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.2409, allocations: 147.8 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.241, allocations: 79.72 kB / 0.9061 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.2411, allocations: 73.52 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2414, allocations: 343.4 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2414, allocations: 0 / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2414, allocations: 0 / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2414, allocations: 0 / 0.9065 GB, free: 57.92 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.0009883/0.2424, allocations: 0.6018 MB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2424, allocations: 8.031 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2425, allocations: 66.52 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.2431, allocations: 99.48 kB / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2434, allocations: 274.5 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2434, allocations: 16.44 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2435, allocations: 20 kB / 0.9076 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.2442, allocations: 426.5 kB / 0.908 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2442, allocations: 0 / 0.908 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2442, allocations: 12 kB / 0.908 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.2443, allocations: 24.34 kB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007827/0.2451, allocations: 424.7 kB / 0.9084 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2465, allocations: 1.615 MB / 0.91 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.2475, allocations: 485.2 kB / 0.9105 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.2479, allocations: 201.6 kB / 0.9107 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.248, allocations: 89.09 kB / 0.9107 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.2485, allocations: 282.5 kB / 0.911 GB, free: 53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.2485, allocations: 0 / 0.911 GB, free: 53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001695/0.2502, allocations: 0.7742 MB / 0.9118 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2503, allocations: 81.11 kB / 0.9118 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2504, allocations: 228.9 kB / 0.9121 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2505, allocations: 33.7 kB / 0.9121 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.2505, allocations: 156.4 kB / 0.9122 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.2506, allocations: 98.64 kB / 0.9123 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.2506, allocations: 15.94 kB / 0.9124 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.2507, allocations: 334.8 kB / 0.9127 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2511, allocations: 184.1 kB / 0.9128 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.2514, allocations: 261.3 kB / 0.9131 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.2518, allocations: 229.8 kB / 0.9133 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2518, allocations: 0 / 0.9133 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009709/0.2528, allocations: 0.5566 MB / 0.9139 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.2529, allocations: 194.6 kB / 0.914 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2529, allocations: 0 / 0.914 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.2532, allocations: 48.7 kB / 0.9141 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.2536, allocations: 91.86 kB / 0.9142 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.2546, allocations: 1.493 MB / 0.9156 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.2549, allocations: 51.83 kB / 0.9157 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.2549, allocations: 16 kB / 0.9157 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.2549, allocations: 4 kB / 0.9157 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009078/0.2559, allocations: 0.4943 MB / 0.9162 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2559, allocations: 4 kB / 0.9162 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.256, allocations: 48.92 kB / 0.9162 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2563, allocations: 83.94 kB / 0.9163 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007911/0.2571, allocations: 1.489 MB / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.2575, allocations: 52.02 kB / 0.9178 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.2575, allocations: 12 kB / 0.9178 GB, free: 45.56 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.0001574/0.2577, allocations: 241.1 kB / 0.9181 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.2577, allocations: 27.7 kB / 0.9181 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.2586, allocations: 0.4945 MB / 0.9186 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2586, allocations: 4 kB / 0.9186 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2586, allocations: 0 / 0.9186 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2587, allocations: 0 / 0.9186 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.2591, allocations: 0.5584 MB / 0.9191 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2592, allocations: 0 / 0.9191 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.2595, allocations: 91.94 kB / 0.9192 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.2596, allocations: 32.83 kB / 0.9192 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2597, allocations: 8 kB / 0.9192 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007351/0.2604, allocations: 1.413 MB / 0.9206 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2604, allocations: 0 / 0.9206 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.2613, allocations: 0.5692 MB / 0.9212 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2614, allocations: 140.7 kB / 0.9213 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.2614, allocations: 4 kB / 0.9213 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.2617, allocations: 47.89 kB / 0.9214 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.2618, allocations: 36.05 kB / 0.9214 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.2619, allocations: 4 kB / 0.9214 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001146/0.262, allocations: 176.5 kB / 0.9216 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.81e-07/0.262, allocations: 0 / 0.9216 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004938/0.2625, allocations: 135.9 kB / 0.9217 GB, free: 41.32 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.001062/0.2636, allocations: 1.122 MB / 0.9228 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.2651, allocations: 1.02 MB / 0.9238 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2651, allocations: 0 / 0.9238 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.2656, allocations: 334.9 kB / 0.9241 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2661, allocations: 48.8 kB / 0.9242 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.2687, allocations: 1.972 MB / 0.9261 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.2689, allocations: 0.7878 MB / 0.9269 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.2692, allocations: 90.2 kB / 0.9269 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2694, allocations: 91.34 kB / 0.927 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2694, allocations: 0 / 0.927 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.2861, allocations: 6.581 MB / 0.9335 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.2863, allocations: 243.2 kB / 0.9337 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.35, allocations: 4 kB / 0.9337 GB, free: 29.06 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)