Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 190.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.483/1.483, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.27 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1687, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004922/0.1737, allocations: 4.333 MB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1765, allocations: 2.386 MB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1766, allocations: 19.88 kB / 0.7896 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.1775, allocations: 346.7 kB / 0.7899 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.1781, allocations: 346.4 kB / 0.7902 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.1786, allocations: 290.1 kB / 0.7905 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.1792, allocations: 0.6866 MB / 0.7912 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.1795, allocations: 290.2 kB / 0.7914 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1798, allocations: 251 kB / 0.7917 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.1801, allocations: 290.8 kB / 0.792 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.1801, allocations: 31.94 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.1806, allocations: 427.1 kB / 0.7924 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1807, allocations: 147.5 kB / 0.7925 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1809, allocations: 230.8 kB / 0.7928 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.1816, allocations: 0.7592 MB / 0.7935 GB, free: 3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1816, allocations: 0 / 0.7935 GB, free: 3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1816, allocations: 0 / 0.7935 GB, free: 3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1816, allocations: 0 / 0.7935 GB, free: 3 MB / 0.6075 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.0008995/0.1825, allocations: 0.791 MB / 0.7943 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1825, allocations: 12.03 kB / 0.7943 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.1826, allocations: 74.66 kB / 0.7944 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.1838, allocations: 188.1 kB / 0.7945 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1843, allocations: 400.5 kB / 0.7949 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1843, allocations: 29.36 kB / 0.7949 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.1844, allocations: 36.36 kB / 0.795 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.1851, allocations: 0.6546 MB / 0.7956 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1851, allocations: 3.938 kB / 0.7956 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1852, allocations: 23.98 kB / 0.7956 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/0.1852, allocations: 51.97 kB / 0.7957 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.1859, allocations: 0.4947 MB / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.1886, allocations: 3.775 MB / 0.7999 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.1901, allocations: 0.6322 MB / 0.8005 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1903, allocations: 178.4 kB / 0.8006 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1903, allocations: 11.98 kB / 0.8007 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1904, allocations: 38.56 kB / 0.8007 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.1904, allocations: 3.938 kB / 0.8007 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001939/0.1923, allocations: 1.284 MB / 0.802 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1924, allocations: 106.8 kB / 0.8021 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1927, allocations: 401.7 kB / 0.8024 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1927, allocations: 33.7 kB / 0.8025 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1929, allocations: 271.5 kB / 0.8027 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.193, allocations: 118.3 kB / 0.8028 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1931, allocations: 102.2 kB / 0.8029 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1932, allocations: 358.8 kB / 0.8033 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.1934, allocations: 177 kB / 0.8035 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.1938, allocations: 371.2 kB / 0.8038 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.1944, allocations: 0.5951 MB / 0.8044 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1944, allocations: 3.938 kB / 0.8044 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009302/0.1953, allocations: 0.6753 MB / 0.8051 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1954, allocations: 8 kB / 0.8051 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1954, allocations: 8.094 kB / 0.8051 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.1957, allocations: 102.4 kB / 0.8052 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.196, allocations: 111.8 kB / 0.8053 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.1988, allocations: 4.336 MB / 0.8095 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1991, allocations: 31.97 kB / 0.8095 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.1992, allocations: 24 kB / 0.8096 GB, free: 1.293 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.1993, allocations: 197.5 kB / 0.8097 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.1995, allocations: 48.56 kB / 0.8098 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.2002, allocations: 0.5186 MB / 0.8103 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.2002, allocations: 4 kB / 0.8103 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2003, allocations: 7.984 kB / 0.8103 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2003, allocations: 3.938 kB / 0.8103 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.2018, allocations: 1.283 MB / 0.8116 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2018, allocations: 8.266 kB / 0.8116 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.202, allocations: 59.91 kB / 0.8116 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.2022, allocations: 94.44 kB / 0.8117 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2023, allocations: 8 kB / 0.8117 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.205, allocations: 4.345 MB / 0.816 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.205, allocations: 3.938 kB / 0.816 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.2058, allocations: 0.7865 MB / 0.8167 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.206, allocations: 152.5 kB / 0.8169 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.206, allocations: 15.98 kB / 0.8169 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2063, allocations: 23.92 kB / 0.8169 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.2064, allocations: 31.89 kB / 0.817 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.2064, allocations: 16 kB / 0.817 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002442/0.2066, allocations: 275.1 kB / 0.8172 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2066, allocations: 0 / 0.8172 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005482/0.2072, allocations: 128 kB / 0.8174 GB, free: 8.676 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/0.2082, allocations: 1.323 MB / 0.8187 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.2093, allocations: 0.8366 MB / 0.8195 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2093, allocations: 0 / 0.8195 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.2099, allocations: 0.5397 MB / 0.82 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.2108, allocations: 138.4 kB / 0.8201 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.2156, allocations: 4.749 MB / 0.8248 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.216, allocations: 0.8625 MB / 0.8256 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.2162, allocations: 108.5 kB / 0.8257 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2164, allocations: 151.4 kB / 0.8259 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.2164, allocations: 0 / 0.8259 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.195/2.411, allocations: 9.813 MB / 0.8354 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/2.411, allocations: 240.5 kB / 0.8357 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/4.306, allocations: 4 kB / 0.8357 GB, free: 5.613 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)