Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008406/0.0008406, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.00584/0.00584, allocations: 172.7 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 262.6 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9487/0.9487, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 16.84 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1588, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004133/0.163, allocations: 3.919 MB / 0.6891 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.166, allocations: 2.358 MB / 0.6914 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1662, allocations: 11.88 kB / 0.6914 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1664, allocations: 67.92 kB / 0.6914 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.167, allocations: 357.2 kB / 0.6918 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.1676, allocations: 288.4 kB / 0.6921 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.1683, allocations: 0.8622 MB / 0.6929 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.1691, allocations: 467.8 kB / 0.6933 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.1693, allocations: 219 kB / 0.6936 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1696, allocations: 258.8 kB / 0.6938 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1697, allocations: 20 kB / 0.6938 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.1703, allocations: 0.5262 MB / 0.6943 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1704, allocations: 131.5 kB / 0.6945 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1706, allocations: 240.4 kB / 0.6947 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.1713, allocations: 0.7358 MB / 0.6954 GB, free: 4.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1713, allocations: 0 / 0.6954 GB, free: 4.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1713, allocations: 4 kB / 0.6954 GB, free: 4.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1713, allocations: 0 / 0.6954 GB, free: 4.535 MB / 494.1 MB 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.0008762/0.1722, allocations: 0.7075 MB / 0.6961 GB, free: 3.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1723, allocations: 8.031 kB / 0.6961 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.971e-05/0.1724, allocations: 82.7 kB / 0.6962 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1736, allocations: 192 kB / 0.6964 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1741, allocations: 400.6 kB / 0.6968 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1741, allocations: 25.36 kB / 0.6968 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.1742, allocations: 40.27 kB / 0.6968 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.175, allocations: 0.6469 MB / 0.6975 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.175, allocations: 7.938 kB / 0.6975 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.175, allocations: 15.98 kB / 0.6975 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/0.1751, allocations: 59.83 kB / 0.6975 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.1758, allocations: 0.4922 MB / 0.698 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.1786, allocations: 3.786 MB / 0.7017 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.1802, allocations: 0.6367 MB / 0.7023 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.1804, allocations: 170.5 kB / 0.7025 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1804, allocations: 11.97 kB / 0.7025 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1805, allocations: 42.5 kB / 0.7025 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/0.1805, allocations: 0 / 0.7025 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002059/0.1825, allocations: 1.273 MB / 0.7038 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.1826, allocations: 114.8 kB / 0.7039 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.1831, allocations: 401.8 kB / 0.7043 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.1832, allocations: 29.7 kB / 0.7043 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1834, allocations: 284 kB / 0.7046 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.1835, allocations: 122.3 kB / 0.7047 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.1836, allocations: 45.7 kB / 0.7047 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1837, allocations: 350.8 kB / 0.7051 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.184, allocations: 177 kB / 0.7052 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.1844, allocations: 387.2 kB / 0.7056 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.1852, allocations: 0.5834 MB / 0.7062 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1852, allocations: 4 kB / 0.7062 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009869/0.1862, allocations: 0.6711 MB / 0.7068 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1862, allocations: 10.19 kB / 0.7069 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1862, allocations: 8 kB / 0.7069 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.1865, allocations: 98.44 kB / 0.707 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.1869, allocations: 116.1 kB / 0.7071 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.1896, allocations: 4.036 MB / 0.711 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.1899, allocations: 27.97 kB / 0.711 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.1899, allocations: 27.94 kB / 0.7111 GB, free: 3.285 MB / 0.4981 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.0001893/0.1901, allocations: 199.8 kB / 0.7112 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.1902, allocations: 47.44 kB / 0.7113 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.1911, allocations: 0.5189 MB / 0.7118 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1911, allocations: 8 kB / 0.7118 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1911, allocations: 4 kB / 0.7118 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1911, allocations: 3.984 kB / 0.7118 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.1927, allocations: 1.283 MB / 0.7131 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1927, allocations: 4 kB / 0.7131 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1929, allocations: 59.89 kB / 0.7131 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.1932, allocations: 94.78 kB / 0.7132 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1932, allocations: 8 kB / 0.7132 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.1959, allocations: 4.028 MB / 0.7172 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1959, allocations: 4.031 kB / 0.7172 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.1967, allocations: 0.787 MB / 0.7179 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1968, allocations: 152.5 kB / 0.7181 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1969, allocations: 15.92 kB / 0.7181 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1972, allocations: 19.98 kB / 0.7181 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1973, allocations: 31.95 kB / 0.7181 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.1973, allocations: 16 kB / 0.7182 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002486/0.1975, allocations: 279.1 kB / 0.7184 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1975, allocations: 0 / 0.7184 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005898/0.1981, allocations: 127.9 kB / 0.7185 GB, free: 11.01 MB / 0.5137 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.001022/0.1992, allocations: 1.328 MB / 0.7198 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2002, allocations: 0.8056 MB / 0.7206 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2003, allocations: 8.062 kB / 0.7206 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.2009, allocations: 0.5428 MB / 0.7212 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.2019, allocations: 123 kB / 0.7213 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.2068, allocations: 4.781 MB / 0.726 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.2072, allocations: 0.8625 MB / 0.7268 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.2075, allocations: 108.8 kB / 0.7269 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2077, allocations: 151.4 kB / 0.727 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2077, allocations: 0 / 0.727 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.2279, allocations: 9.41 MB / 0.7362 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.2281, allocations: 238.1 kB / 0.7365 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.044, allocations: 0 / 0.7365 GB, free: 8.422 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)