Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.578/1.578, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.0009546/0.0009546, allocations: 182.2 kB / 371.1 MB, free: 10.81 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.282/1.282, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007036/0.0007036, allocations: 92.53 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003248, allocations: 10.94 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002223/0.1527, allocations: 2.661 MB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1544, allocations: 1.83 MB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.1545, allocations: 3.938 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1547, allocations: 35.77 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.155, allocations: 143.3 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1553, allocations: 176.9 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1555, allocations: 374.7 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.156, allocations: 329.9 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1561, allocations: 103.6 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1563, allocations: 143.5 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1563, allocations: 12 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.1566, allocations: 251.6 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.1566, allocations: 79.78 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1567, allocations: 65.58 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1569, allocations: 351.2 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.157, allocations: 0 / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/0.157, allocations: 0 / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.157, allocations: 0 / 0.9851 GB, free: 21.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005219/0.1575, allocations: 0.5185 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1575, allocations: 12.03 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1576, allocations: 62.72 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006325/0.1582, allocations: 112.5 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1584, allocations: 255.9 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1585, allocations: 16.8 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1585, allocations: 16.38 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1589, allocations: 357.1 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1589, allocations: 0 / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1589, allocations: 8 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.159, allocations: 24.42 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1593, allocations: 301.4 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1608, allocations: 1.733 MB / 0.9884 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1611, allocations: 330.1 kB / 0.9887 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1612, allocations: 105.9 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.188e-05/0.1613, allocations: 93.03 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.1613, allocations: 34.56 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1614, allocations: 4 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001872/0.1632, allocations: 0.9622 MB / 0.9899 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.1633, allocations: 85.05 kB / 0.99 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1634, allocations: 212.5 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1634, allocations: 25.7 kB / 0.9902 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1635, allocations: 172.1 kB / 0.9904 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1635, allocations: 82.94 kB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1635, allocations: 7.938 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.1636, allocations: 334.8 kB / 0.9908 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1637, allocations: 135.9 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1639, allocations: 213 kB / 0.9911 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.1642, allocations: 369.2 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1643, allocations: 4 kB / 0.9915 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006351/0.1649, allocations: 0.5006 MB / 0.9919 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1649, allocations: 12 kB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1649, allocations: 0 / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.1653, allocations: 151.3 kB / 0.9921 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1655, allocations: 59.91 kB / 0.9922 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.1672, allocations: 3.961 MB / 0.996 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1674, allocations: 19.97 kB / 0.996 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1674, allocations: 16 kB / 0.9961 GB, free: 9.434 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1675, allocations: 169.8 kB / 0.9962 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.1676, allocations: 35.64 kB / 0.9963 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.1683, allocations: 462.6 kB / 0.9967 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1683, allocations: 8 kB / 0.9967 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1683, allocations: 0 / 0.9967 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1683, allocations: 7.922 kB / 0.9967 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1694, allocations: 1.002 MB / 0.9977 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1694, allocations: 4 kB / 0.9977 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1695, allocations: 31.98 kB / 0.9977 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.1699, allocations: 151.5 kB / 0.9979 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1699, allocations: 11.98 kB / 0.9979 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.1717, allocations: 3.942 MB / 1.002 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1717, allocations: 7.938 kB / 1.002 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.1723, allocations: 0.6298 MB / 1.002 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.1724, allocations: 124.8 kB / 1.002 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1724, allocations: 8 kB / 1.002 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1727, allocations: 19.97 kB / 1.002 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1727, allocations: 27.92 kB / 1.003 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1727, allocations: 19.92 kB / 1.003 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.662e-05/0.1728, allocations: 148.2 kB / 1.003 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1728, allocations: 4 kB / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004193/0.1733, allocations: 84 kB / 1.003 GB, free: 2.039 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007697/0.174, allocations: 1.205 MB / 1.004 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.1748, allocations: 0.5559 MB / 1.004 GB, free: 192 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1748, allocations: 0 / 1.004 GB, free: 192 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.1752, allocations: 406 kB / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.1758, allocations: 52.75 kB / 1.005 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.1785, allocations: 1.799 MB / 1.007 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1788, allocations: 0.7831 MB / 1.007 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.179, allocations: 54.25 kB / 1.007 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1792, allocations: 75.41 kB / 1.008 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.1792, allocations: 0 / 1.008 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/0.4441, allocations: 6.19 MB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/0.4444, allocations: 217.2 kB / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.411, allocations: 0 / 1.014 GB, free: 6.621 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)