Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.007039/0.007045, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.00189/0.00189, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 290.5 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.2 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003758/0.003758, allocations: 98.86 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1699, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3054/0.4754, allocations: 11.07 MB / 0.7767 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007954/0.4834, allocations: 5.791 MB / 0.7824 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.4842, allocations: 50.69 kB / 0.7824 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.4877, allocations: 1.73 MB / 0.7841 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.4903, allocations: 1.144 MB / 0.7852 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.4923, allocations: 0.8161 MB / 0.786 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.4947, allocations: 2.126 MB / 0.7881 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.496, allocations: 1.313 MB / 0.7894 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.497, allocations: 0.8499 MB / 0.7902 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009218/0.4979, allocations: 0.9077 MB / 0.7911 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.4981, allocations: 113.5 kB / 0.7912 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.5, allocations: 1.178 MB / 0.7924 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.5004, allocations: 0.5309 MB / 0.7929 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.501, allocations: 0.7817 MB / 0.7936 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.5038, allocations: 2.433 MB / 0.796 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5038, allocations: 0.5156 kB / 0.796 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5038, allocations: 0 / 0.796 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.5039, allocations: 1.844 kB / 0.796 GB, free: 1.641 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002509/0.5064, allocations: 1.921 MB / 0.7979 GB, free: 372 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5064, allocations: 10.34 kB / 0.7979 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.5067, allocations: 210.8 kB / 0.7981 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00448/0.5111, allocations: 0.6766 MB / 0.7988 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.513, allocations: 1.018 MB / 0.7998 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.513, allocations: 100 kB / 0.7999 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.5133, allocations: 127.3 kB / 0.8 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.517, allocations: 2.209 MB / 0.8021 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.517, allocations: 8.375 kB / 0.8021 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5172, allocations: 65.56 kB / 0.8022 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/0.5174, allocations: 163 kB / 0.8024 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.5204, allocations: 1.869 MB / 0.8042 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.5331, allocations: 12.45 MB / 0.8163 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.5373, allocations: 1.97 MB / 0.8183 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.5381, allocations: 0.6077 MB / 0.8189 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.5383, allocations: 109.2 kB / 0.819 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.5384, allocations: 43.62 kB / 0.819 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 3.587e-06/0.5384, allocations: 0 / 0.819 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110): time 0.006316/0.5447, allocations: 3.728 MB / 0.8227 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.5448, allocations: 63.16 kB / 0.8227 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.546, allocations: 0.9263 MB / 0.8236 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.546, allocations: 41.61 kB / 0.8237 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/0.5466, allocations: 0.7558 MB / 0.8244 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.547, allocations: 402.7 kB / 0.8248 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.5474, allocations: 289.2 kB / 0.8251 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5475, allocations: 306.2 kB / 0.8253 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009434/0.5485, allocations: 0.6089 MB / 0.8259 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.5498, allocations: 1.107 MB / 0.827 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.5523, allocations: 1.83 MB / 0.8288 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.5523, allocations: 5 kB / 0.8288 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003668/0.556, allocations: 2.104 MB / 0.8309 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.556, allocations: 11.03 kB / 0.8309 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.556, allocations: 20.2 kB / 0.8309 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/0.5568, allocations: 254.8 kB / 0.8311 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5581, allocations: 376 kB / 0.8315 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.5682, allocations: 11.59 MB / 0.8428 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5697, allocations: 129.2 kB / 0.8429 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.5698, allocations: 72.86 kB / 0.843 GB, free: 13.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0007379/0.5706, allocations: 408.2 kB / 0.8434 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.5708, allocations: 135 kB / 0.8435 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.5738, allocations: 1.669 MB / 0.8452 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5738, allocations: 19.55 kB / 0.8452 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5739, allocations: 1.906 kB / 0.8452 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5739, allocations: 9.047 kB / 0.8452 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.5791, allocations: 3.293 MB / 0.8484 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/0.5791, allocations: 6.125 kB / 0.8484 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.58, allocations: 222.6 kB / 0.8486 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007012/0.5807, allocations: 252.9 kB / 0.8489 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.5808, allocations: 25.92 kB / 0.8489 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009679/0.5904, allocations: 11.56 MB / 0.8602 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5905, allocations: 9.438 kB / 0.8602 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.5934, allocations: 1.809 MB / 0.862 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.594, allocations: 317.4 kB / 0.8623 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.5942, allocations: 38.88 kB / 0.8623 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.5949, allocations: 90.44 kB / 0.8624 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.5951, allocations: 100.6 kB / 0.8625 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.5952, allocations: 34.84 kB / 0.8625 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009278/0.5962, allocations: 0.616 MB / 0.8631 GB, free: 12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5962, allocations: 4 kB / 0.8631 GB, free: 12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001485/0.5977, allocations: 392 kB / 0.8635 GB, free: 11.61 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.00347/0.6011, allocations: 2.392 MB / 0.8658 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.6051, allocations: 2.504 MB / 0.8683 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6052, allocations: 4 kB / 0.8683 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.6075, allocations: 1.622 MB / 0.8699 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6092, allocations: 361.3 kB / 0.8702 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.6262, allocations: 11.53 MB / 0.8815 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.6273, allocations: 1.331 MB / 0.8828 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6284, allocations: 363.3 kB / 0.8831 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/0.6291, allocations: 0.5344 MB / 0.8836 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of SimCode: time 1.193e-06/0.6291, allocations: 0 / 0.8836 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08183/0.711, allocations: 28.31 MB / 0.9113 GB, free: 9.984 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.49, allocations: 21.45 kB / 0.9113 GB, free: 9.969 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)