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.441/1.441, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0009803/0.0009803, allocations: 183.1 kB / 372.3 MB, free: 10.12 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.176/1.176, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006833/0.0006833, allocations: 86.8 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 13.12 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.002578/0.1624, allocations: 2.619 MB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1645, allocations: 1.653 MB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1647, allocations: 7.938 kB / 0.9844 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1649, allocations: 31.72 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1654, allocations: 171.2 kB / 0.9846 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.1659, allocations: 219.5 kB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1663, allocations: 422.6 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006257/0.1669, allocations: 410.9 kB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1672, allocations: 135.5 kB / 0.9857 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1674, allocations: 163.4 kB / 0.9859 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.1675, allocations: 12 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.1679, allocations: 295.4 kB / 0.9862 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.1679, allocations: 91.69 kB / 0.9862 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1681, allocations: 137.1 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.1684, allocations: 355.1 kB / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1684, allocations: 0 / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1684, allocations: 3.984 kB / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1684, allocations: 0 / 0.9867 GB, free: 20.52 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.0009499/0.1694, allocations: 0.5943 MB / 0.9873 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1694, allocations: 8.031 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.1695, allocations: 66.7 kB / 0.9874 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.1701, allocations: 96.47 kB / 0.9875 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1703, allocations: 287.4 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1704, allocations: 12.81 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.1704, allocations: 24.38 kB / 0.9878 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.1711, allocations: 430.6 kB / 0.9882 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1711, allocations: 4 kB / 0.9882 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1711, allocations: 4 kB / 0.9882 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.1712, allocations: 36.34 kB / 0.9882 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.1719, allocations: 416.7 kB / 0.9886 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1732, allocations: 1.603 MB / 0.9902 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.1741, allocations: 489 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.1745, allocations: 205.6 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1746, allocations: 89.11 kB / 0.9909 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.1751, allocations: 280.3 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/0.1751, allocations: 0 / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001566/0.1767, allocations: 0.7851 MB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1767, allocations: 77.11 kB / 0.992 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1769, allocations: 228.9 kB / 0.9923 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1769, allocations: 33.7 kB / 0.9923 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.177, allocations: 172.3 kB / 0.9925 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.177, allocations: 90.66 kB / 0.9925 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.1771, allocations: 4 kB / 0.9925 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.1771, allocations: 334.8 kB / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.1775, allocations: 184.2 kB / 0.993 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1779, allocations: 253.3 kB / 0.9933 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.1786, allocations: 486.8 kB / 0.9937 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1786, allocations: 0 / 0.9937 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009571/0.1796, allocations: 0.5668 MB / 0.9943 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/0.1797, allocations: 186.6 kB / 0.9945 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1797, allocations: 4 kB / 0.9945 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.1799, allocations: 36.83 kB / 0.9945 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.1802, allocations: 91.86 kB / 0.9946 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009799/0.1812, allocations: 1.505 MB / 0.9961 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1816, allocations: 55.86 kB / 0.9961 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1816, allocations: 16 kB / 0.9961 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.1816, allocations: 4 kB / 0.9961 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000892/0.1825, allocations: 0.4944 MB / 0.9966 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1826, allocations: 4 kB / 0.9966 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.1827, allocations: 48.75 kB / 0.9967 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.183, allocations: 79.88 kB / 0.9968 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/0.1838, allocations: 1.485 MB / 0.9982 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1841, allocations: 55.86 kB / 0.9983 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1841, allocations: 15.94 kB / 0.9983 GB, free: 7.871 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.0001716/0.1843, allocations: 234.9 kB / 0.9985 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1843, allocations: 31.7 kB / 0.9985 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.1852, allocations: 489.7 kB / 0.999 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1852, allocations: 4 kB / 0.999 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1852, allocations: 0 / 0.999 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1853, allocations: 3.938 kB / 0.999 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1858, allocations: 0.5777 MB / 0.9996 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1858, allocations: 4 kB / 0.9996 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.1861, allocations: 87.91 kB / 0.9997 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1862, allocations: 32.83 kB / 0.9997 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1863, allocations: 8 kB / 0.9997 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007029/0.187, allocations: 1.409 MB / 1.001 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.187, allocations: 144 / 1.001 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.1878, allocations: 0.5656 MB / 1.002 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1879, allocations: 136.7 kB / 1.002 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.188, allocations: 4 kB / 1.002 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.1883, allocations: 43.95 kB / 1.002 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.1884, allocations: 31.95 kB / 1.002 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1884, allocations: 8 kB / 1.002 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001121/0.1885, allocations: 176.4 kB / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1885, allocations: 3.938 kB / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004947/0.189, allocations: 132 kB / 1.002 GB, free: 3.656 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.001034/0.19, allocations: 1.11 MB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.1915, allocations: 1.012 MB / 1.004 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1916, allocations: 0 / 1.004 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.1921, allocations: 338.5 kB / 1.005 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1925, allocations: 48.55 kB / 1.005 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.1955, allocations: 1.985 MB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1958, allocations: 0.7839 MB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.1961, allocations: 98.19 kB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.1963, allocations: 83.41 kB / 1.007 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.1963, allocations: 0 / 1.007 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7512/0.9475, allocations: 6.586 MB / 1.014 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.9477, allocations: 242.3 kB / 1.014 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.949, allocations: 4.062 kB / 1.014 GB, free: 7.383 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)