Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.436/1.436, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.000872/0.000872, allocations: 172.5 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.136/1.136, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006741/0.0006741, allocations: 94.34 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12.59 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003016/0.1559, allocations: 3.749 MB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1583, allocations: 2.278 MB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1586, allocations: 11.88 kB / 0.9861 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1588, allocations: 71.36 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.1594, allocations: 330.5 kB / 0.9865 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1599, allocations: 267.4 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1605, allocations: 0.745 MB / 0.9875 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.1611, allocations: 460.8 kB / 0.9879 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1613, allocations: 215 kB / 0.9881 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1616, allocations: 251 kB / 0.9883 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1616, allocations: 16 kB / 0.9884 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.1622, allocations: 0.5106 MB / 0.9889 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.1623, allocations: 127.6 kB / 0.989 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1624, allocations: 232.6 kB / 0.9892 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1629, allocations: 0.5571 MB / 0.9897 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1629, allocations: 0 / 0.9897 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1629, allocations: 0 / 0.9897 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1629, allocations: 0 / 0.9897 GB, free: 17.38 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007481/0.1637, allocations: 0.699 MB / 0.9904 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1637, allocations: 12.03 kB / 0.9904 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.1638, allocations: 82.64 kB / 0.9905 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.1648, allocations: 188.1 kB / 0.9907 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1652, allocations: 404.4 kB / 0.9911 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1652, allocations: 29.36 kB / 0.9911 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1653, allocations: 32.38 kB / 0.9911 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1659, allocations: 0.6546 MB / 0.9918 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1659, allocations: 0 / 0.9918 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.166, allocations: 19.98 kB / 0.9918 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.166, allocations: 51.97 kB / 0.9918 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.1666, allocations: 499.3 kB / 0.9923 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.1686, allocations: 3.794 MB / 0.996 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.1699, allocations: 0.6205 MB / 0.9966 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1701, allocations: 174.5 kB / 0.9968 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1701, allocations: 7.938 kB / 0.9968 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.1702, allocations: 38.56 kB / 0.9968 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.342e-06/0.1702, allocations: 4 kB / 0.9968 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00162/0.1718, allocations: 1.276 MB / 0.9981 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1718, allocations: 114.8 kB / 0.9982 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1721, allocations: 397.7 kB / 0.9986 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.868e-05/0.1721, allocations: 33.7 kB / 0.9986 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.1722, allocations: 275.5 kB / 0.9989 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.1723, allocations: 118.3 kB / 0.999 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.1723, allocations: 12 kB / 0.999 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.1724, allocations: 354.8 kB / 0.9993 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1726, allocations: 173 kB / 0.9995 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1728, allocations: 376.9 kB / 0.9999 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1733, allocations: 0.5912 MB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1733, allocations: 0 / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007706/0.1741, allocations: 0.6707 MB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1741, allocations: 8 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1741, allocations: 8 kB / 1.001 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.1744, allocations: 103 kB / 1.001 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.1747, allocations: 111.8 kB / 1.001 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.1766, allocations: 4.032 MB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1769, allocations: 32.03 kB / 1.005 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.1769, allocations: 24.94 kB / 1.005 GB, free: 212 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.1771, allocations: 197.6 kB / 1.005 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1772, allocations: 51.42 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.1779, allocations: 0.5146 MB / 1.006 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.178, allocations: 4 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.178, allocations: 4 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.178, allocations: 3.984 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.1794, allocations: 1.283 MB / 1.007 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1795, allocations: 8 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.1797, allocations: 59.89 kB / 1.007 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.1799, allocations: 94.78 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1799, allocations: 8 kB / 1.007 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.1824, allocations: 4.032 MB / 1.011 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1824, allocations: 4 kB / 1.011 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.1831, allocations: 0.7776 MB / 1.012 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1833, allocations: 156.5 kB / 1.012 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.1833, allocations: 15.94 kB / 1.012 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.1836, allocations: 27.97 kB / 1.012 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1836, allocations: 27.91 kB / 1.012 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1837, allocations: 16 kB / 1.012 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002259/0.1839, allocations: 271.1 kB / 1.013 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1839, allocations: 0 / 1.013 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005106/0.1844, allocations: 131.9 kB / 1.013 GB, free: 7.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009167/0.1853, allocations: 1.339 MB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009691/0.1863, allocations: 0.7946 MB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1863, allocations: 0 / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.1869, allocations: 0.5436 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.1878, allocations: 125.6 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1909, allocations: 2.808 MB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1913, allocations: 0.8624 MB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.1915, allocations: 104.5 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.1917, allocations: 151.4 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.1917, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6241/0.8158, allocations: 9.478 MB / 1.029 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.8161, allocations: 223.2 kB / 1.029 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.166, allocations: 3.938 kB / 1.029 GB, free: 7.383 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)