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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 266.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 95.78 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005637/0.1389, allocations: 4.278 MB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1424, allocations: 2.377 MB / 0.6868 GB, free: 9.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.1426, allocations: 15.88 kB / 0.6868 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1437, allocations: 366.3 kB / 0.6872 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.1445, allocations: 374.2 kB / 0.6875 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.1452, allocations: 314.1 kB / 0.6878 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.1458, allocations: 0.6867 MB / 0.6885 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1463, allocations: 266 kB / 0.6887 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.1466, allocations: 251 kB / 0.689 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.1469, allocations: 270.9 kB / 0.6892 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.147, allocations: 32 kB / 0.6893 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.1476, allocations: 431 kB / 0.6897 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1478, allocations: 143.6 kB / 0.6898 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.148, allocations: 242.6 kB / 0.69 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.1488, allocations: 0.7243 MB / 0.6908 GB, free: 5.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1488, allocations: 0 / 0.6908 GB, free: 5.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1488, allocations: 0 / 0.6908 GB, free: 5.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1489, allocations: 0 / 0.6908 GB, free: 5.832 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.001061/0.1499, allocations: 0.7871 MB / 0.6915 GB, free: 4.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.15, allocations: 8.031 kB / 0.6915 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.19e-05/0.1501, allocations: 82.69 kB / 0.6916 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1514, allocations: 188 kB / 0.6918 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.1519, allocations: 396.5 kB / 0.6922 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1519, allocations: 25.38 kB / 0.6922 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.152, allocations: 40.27 kB / 0.6922 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.1528, allocations: 0.6558 MB / 0.6929 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1528, allocations: 4 kB / 0.6929 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.1528, allocations: 16 kB / 0.6929 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/0.1529, allocations: 63.83 kB / 0.6929 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.1536, allocations: 492.1 kB / 0.6934 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.1565, allocations: 3.775 MB / 0.6971 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1581, allocations: 0.6438 MB / 0.6977 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.1584, allocations: 178.4 kB / 0.6979 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1584, allocations: 4 kB / 0.6979 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1584, allocations: 46.55 kB / 0.698 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.1584, allocations: 0 / 0.698 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002053/0.1605, allocations: 1.276 MB / 0.6992 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1606, allocations: 106.8 kB / 0.6993 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.1609, allocations: 401.8 kB / 0.6997 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.161, allocations: 29.7 kB / 0.6997 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1611, allocations: 283.4 kB / 0.7 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.1612, allocations: 118.3 kB / 0.7001 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1613, allocations: 98.16 kB / 0.7002 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1615, allocations: 358.8 kB / 0.7005 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1617, allocations: 173 kB / 0.7007 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.1621, allocations: 379.2 kB / 0.7011 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.1627, allocations: 0.599 MB / 0.7016 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1627, allocations: 0 / 0.7016 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009817/0.1637, allocations: 0.6668 MB / 0.7023 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1637, allocations: 8 kB / 0.7023 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1638, allocations: 8.719 kB / 0.7023 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.1641, allocations: 110.4 kB / 0.7024 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1645, allocations: 107.8 kB / 0.7025 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.1674, allocations: 4.341 MB / 0.7068 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1678, allocations: 32.14 kB / 0.7068 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1678, allocations: 27.98 kB / 0.7068 GB, free: 4.129 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.0001887/0.168, allocations: 196.3 kB / 0.707 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1681, allocations: 47.44 kB / 0.707 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/0.1689, allocations: 0.5189 MB / 0.7076 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1689, allocations: 5.125 kB / 0.7076 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.169, allocations: 0 / 0.7076 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.169, allocations: 4 kB / 0.7076 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.1706, allocations: 1.295 MB / 0.7088 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1706, allocations: 0 / 0.7088 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1708, allocations: 63.89 kB / 0.7089 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.1711, allocations: 90.8 kB / 0.709 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1711, allocations: 8 kB / 0.709 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.174, allocations: 4.345 MB / 0.7132 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.174, allocations: 8.141 kB / 0.7132 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.1748, allocations: 0.7775 MB / 0.714 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.175, allocations: 152.5 kB / 0.7141 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.175, allocations: 12 kB / 0.7141 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1753, allocations: 19.97 kB / 0.7142 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1754, allocations: 39.84 kB / 0.7142 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1754, allocations: 12 kB / 0.7142 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00026/0.1757, allocations: 279.1 kB / 0.7145 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1757, allocations: 0 / 0.7145 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006005/0.1763, allocations: 124 kB / 0.7146 GB, free: 11.54 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.001053/0.1774, allocations: 1.33 MB / 0.7159 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.1785, allocations: 0.8215 MB / 0.7167 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1785, allocations: 4.125 kB / 0.7167 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006533/0.1792, allocations: 0.5427 MB / 0.7172 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.1801, allocations: 128.4 kB / 0.7174 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.1851, allocations: 4.606 MB / 0.7219 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1855, allocations: 0.8625 MB / 0.7227 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.1857, allocations: 100.5 kB / 0.7228 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.1859, allocations: 155.4 kB / 0.7229 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1859, allocations: 0 / 0.7229 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.2189, allocations: 9.907 MB / 0.7326 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.9/9.119, allocations: 0 / 0.7326 GB, free: 8.801 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)