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.817/1.817, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.0009822/0.0009823, allocations: 187.1 kB / 372 MB, free: 10.24 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.575/1.575, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.000789, allocations: 90.3 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 15.66 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00265/0.2011, allocations: 2.619 MB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.203, allocations: 1.657 MB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.2032, allocations: 7.938 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2033, allocations: 31.72 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.2037, allocations: 151.3 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.204, allocations: 183.6 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2043, allocations: 426.6 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.2049, allocations: 378.9 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.205, allocations: 127.5 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2053, allocations: 167.4 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.2053, allocations: 12 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.2055, allocations: 135.8 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.2056, allocations: 87.7 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.2057, allocations: 69.58 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.206, allocations: 343 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.206, allocations: 4 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.206, allocations: 0 / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.206, allocations: 4 kB / 0.9859 GB, free: 21.12 MB / 0.6198 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.0009228/0.2069, allocations: 0.6019 MB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.207, allocations: 12.03 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.207, allocations: 66.47 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.2077, allocations: 95.48 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2079, allocations: 266.6 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.208, allocations: 16.38 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.208, allocations: 27.98 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.2087, allocations: 426.5 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2087, allocations: 0 / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.2087, allocations: 15.92 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.2088, allocations: 24.36 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.2095, allocations: 420.5 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.2109, allocations: 1.611 MB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2119, allocations: 489.2 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.2123, allocations: 209.5 kB / 0.99 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.2124, allocations: 97.06 kB / 0.9901 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.2129, allocations: 280.3 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.2129, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001647/0.2146, allocations: 0.7679 MB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2146, allocations: 89.3 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2148, allocations: 225 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2148, allocations: 33.7 kB / 0.9914 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.2149, allocations: 164.3 kB / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.215, allocations: 98.64 kB / 0.9917 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.215, allocations: 4 kB / 0.9917 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.2151, allocations: 338.8 kB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2155, allocations: 184.2 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.2159, allocations: 257.1 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.2163, allocations: 234.3 kB / 0.9927 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2163, allocations: 4 kB / 0.9927 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001006/0.2173, allocations: 0.5515 MB / 0.9932 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.709e-05/0.2174, allocations: 194.6 kB / 0.9934 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2174, allocations: 7.953 kB / 0.9934 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.2176, allocations: 40.83 kB / 0.9934 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.218, allocations: 83.86 kB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2191, allocations: 1.493 MB / 0.995 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.2194, allocations: 55.86 kB / 0.995 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2194, allocations: 8 kB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-06/0.2195, allocations: 5.875 kB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009274/0.2204, allocations: 0.5022 MB / 0.9955 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.2204, allocations: 0 / 0.9955 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.2205, allocations: 40.81 kB / 0.9956 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.2209, allocations: 91.81 kB / 0.9957 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.2217, allocations: 1.493 MB / 0.9971 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.222, allocations: 51.86 kB / 0.9972 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.222, allocations: 12 kB / 0.9972 GB, free: 8.75 MB / 0.6198 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.0001726/0.2222, allocations: 245 kB / 0.9974 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.2223, allocations: 23.72 kB / 0.9974 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.2232, allocations: 497.6 kB / 0.9979 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2232, allocations: 4 kB / 0.9979 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.2232, allocations: 3.938 kB / 0.9979 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2232, allocations: 4 kB / 0.9979 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2237, allocations: 0.5699 MB / 0.9985 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2238, allocations: 3.984 kB / 0.9985 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.2241, allocations: 83.86 kB / 0.9986 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.2242, allocations: 32.83 kB / 0.9986 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2243, allocations: 12.09 kB / 0.9986 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007728/0.2251, allocations: 1.405 MB / 1 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2251, allocations: 4.031 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.226, allocations: 0.5617 MB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2261, allocations: 140.7 kB / 1.001 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2261, allocations: 8 kB / 1.001 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.2264, allocations: 39.95 kB / 1.001 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.2265, allocations: 39.84 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.2266, allocations: 11.98 kB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001247/0.2267, allocations: 172.5 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2267, allocations: 4 kB / 1.001 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005426/0.2272, allocations: 124 kB / 1.001 GB, free: 4.527 MB / 0.6198 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.001101/0.2283, allocations: 1.11 MB / 1.002 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.2299, allocations: 1.008 MB / 1.003 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.23, allocations: 4.062 kB / 1.003 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.2305, allocations: 338.4 kB / 1.003 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2309, allocations: 54.23 kB / 1.003 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.2339, allocations: 1.973 MB / 1.005 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.2343, allocations: 0.7955 MB / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.2346, allocations: 98.23 kB / 1.006 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2348, allocations: 91.34 kB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.2348, allocations: 0 / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.2548, allocations: 6.568 MB / 1.013 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.2551, allocations: 243.8 kB / 1.013 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.243, allocations: 0 / 1.013 GB, free: 8.262 MB / 0.6355 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)