Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.455/1.455, 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.0009302/0.0009302, allocations: 175.9 kB / 372.2 MB, free: 10.13 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.154/1.154, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0007409/0.0007409, allocations: 90.28 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 15.72 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003226/0.152, allocations: 3.839 MB / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1552, allocations: 3.014 MB / 0.9869 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1554, allocations: 7.938 kB / 0.9869 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.1559, allocations: 167 kB / 0.9871 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006544/0.1565, allocations: 326.5 kB / 0.9874 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.157, allocations: 201 kB / 0.9876 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.1575, allocations: 0.658 MB / 0.9882 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.1584, allocations: 0.8139 MB / 0.989 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1586, allocations: 183.2 kB / 0.9892 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1589, allocations: 239.1 kB / 0.9894 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.1589, allocations: 20 kB / 0.9894 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.1594, allocations: 359.4 kB / 0.9898 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.1595, allocations: 135.6 kB / 0.9899 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1597, allocations: 216.8 kB / 0.9901 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1601, allocations: 0.6818 MB / 0.9908 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1601, allocations: 0 / 0.9908 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1601, allocations: 0 / 0.9908 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1602, allocations: 0 / 0.9908 GB, free: 16.37 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009006/0.1611, allocations: 0.7169 MB / 0.9915 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1611, allocations: 8.031 kB / 0.9915 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.1612, allocations: 74.66 kB / 0.9915 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.1635, allocations: 0.6945 MB / 0.9922 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.1641, allocations: 479.8 kB / 0.9927 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1641, allocations: 25.02 kB / 0.9927 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1642, allocations: 35.92 kB / 0.9927 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.1654, allocations: 0.7865 MB / 0.9935 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1654, allocations: 0 / 0.9935 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.1655, allocations: 15.94 kB / 0.9935 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.1656, allocations: 56.59 kB / 0.9936 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1672, allocations: 0.8804 MB / 0.9944 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.17, allocations: 2.858 MB / 0.9972 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.1714, allocations: 0.5215 MB / 0.9977 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.172, allocations: 264.5 kB / 0.998 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.1721, allocations: 97.08 kB / 0.9981 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.1721, allocations: 34.56 kB / 0.9981 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1721, allocations: 0 / 0.9981 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.009576/0.1817, allocations: 3.209 MB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1817, allocations: 81.11 kB / 1.001 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.1821, allocations: 421.5 kB / 1.002 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1821, allocations: 29.7 kB / 1.002 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.1822, allocations: 239.8 kB / 1.002 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.1823, allocations: 94.73 kB / 1.002 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1823, allocations: 8 kB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.1824, allocations: 342.8 kB / 1.002 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.1831, allocations: 371.5 kB / 1.003 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/0.1839, allocations: 437.3 kB / 1.003 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1853, allocations: 0.7764 MB / 1.004 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1853, allocations: 4 kB / 1.004 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004247/0.1896, allocations: 1.542 MB / 1.005 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.1897, allocations: 153.2 kB / 1.006 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1897, allocations: 0 / 1.006 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.1931, allocations: 0.8442 MB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.1937, allocations: 139.8 kB / 1.007 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.2006, allocations: 4.659 MB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.2013, allocations: 115.8 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.2013, allocations: 19.98 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.2013, allocations: 7.938 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003774/0.2051, allocations: 1.257 MB / 1.012 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2051, allocations: 3.938 kB / 1.012 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.2074, allocations: 0.5549 MB / 1.013 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.208, allocations: 143.8 kB / 1.013 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.2111, allocations: 2.51 MB / 1.016 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.2117, allocations: 107.8 kB / 1.016 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.2118, allocations: 24.05 kB / 1.016 GB, free: 5.809 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.2121, allocations: 324.9 kB / 1.016 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.2122, allocations: 31.62 kB / 1.016 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.2164, allocations: 1.416 MB / 1.017 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2164, allocations: 8 kB / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2164, allocations: 0 / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2164, allocations: 3.938 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.2224, allocations: 2.102 MB / 1.02 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2224, allocations: 0 / 1.02 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.2228, allocations: 95.88 kB / 1.02 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.2259, allocations: 0.7818 MB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.226, allocations: 11.98 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.2314, allocations: 4.485 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2314, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.2356, allocations: 1.444 MB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.2359, allocations: 168.7 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.236, allocations: 7.938 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.2366, allocations: 103.8 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2367, allocations: 23.97 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.2367, allocations: 7.984 kB / 1.026 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003672/0.2371, allocations: 311.1 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2371, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007999/0.2379, allocations: 208 kB / 1.027 GB, free: 9.883 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004495/0.2424, allocations: 1.996 MB / 1.029 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.2465, allocations: 1.625 MB / 1.03 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2465, allocations: 0 / 1.03 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.2477, allocations: 0.6807 MB / 1.031 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.2483, allocations: 122 kB / 1.031 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/0.2569, allocations: 4.229 MB / 1.035 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2573, allocations: 0.9132 MB / 1.036 GB, free: 92 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000486/0.2578, allocations: 151.2 kB / 1.036 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.258, allocations: 139.4 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of SimCode: time 3.51e-07/0.258, allocations: 3.938 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/1.315, allocations: 15.92 MB / 1.052 GB, free: 120 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/1.315, allocations: 232.7 kB / 1.052 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.898, allocations: 0 / 1.052 GB, free: 15.88 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)