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.001322/0.001322, 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.001308/0.001308, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 286.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 103.2 kB / 0.6066 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1613, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01498/0.1763, allocations: 11.09 MB / 0.7044 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00994/0.1863, allocations: 5.79 MB / 0.7101 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1874, allocations: 47.69 kB / 0.7101 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004532/0.192, allocations: 1.725 MB / 0.7118 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.1952, allocations: 1.147 MB / 0.7129 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.1974, allocations: 0.8138 MB / 0.7137 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.2002, allocations: 2.123 MB / 0.7158 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.2023, allocations: 1.318 MB / 0.7171 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.2041, allocations: 0.8368 MB / 0.7179 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.2055, allocations: 0.9065 MB / 0.7188 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.2057, allocations: 119.9 kB / 0.7189 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.2081, allocations: 1.173 MB / 0.7201 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006095/0.2087, allocations: 0.5259 MB / 0.7206 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009392/0.2097, allocations: 0.7849 MB / 0.7213 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.2132, allocations: 2.395 MB / 0.7237 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2132, allocations: 4 kB / 0.7237 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2132, allocations: 0 / 0.7237 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.298e-05/0.2133, allocations: 0 / 0.7237 GB, free: 5.309 MB / 0.5137 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.003075/0.2164, allocations: 1.861 MB / 0.7255 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2164, allocations: 8.031 kB / 0.7255 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/0.2167, allocations: 223.4 kB / 0.7257 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.2213, allocations: 0.6621 MB / 0.7264 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.2233, allocations: 0.9146 MB / 0.7273 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.2234, allocations: 94.89 kB / 0.7273 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.2236, allocations: 132.3 kB / 0.7275 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.2269, allocations: 2.21 MB / 0.7296 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.227, allocations: 7.938 kB / 0.7296 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.2271, allocations: 59.97 kB / 0.7297 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/0.2273, allocations: 162.3 kB / 0.7298 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.2304, allocations: 1.871 MB / 0.7317 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.2455, allocations: 12.48 MB / 0.7439 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/0.2503, allocations: 1.971 MB / 0.7458 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.2513, allocations: 0.6089 MB / 0.7464 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.2516, allocations: 102.1 kB / 0.7465 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.2517, allocations: 51.44 kB / 0.7465 GB, free: 12.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 3.467e-06/0.2517, allocations: 0 / 0.7465 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=110): time 0.007158/0.2588, allocations: 3.694 MB / 0.7501 GB, free: 8.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.2589, allocations: 68.39 kB / 0.7502 GB, free: 8.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.2603, allocations: 0.9203 MB / 0.7511 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.2604, allocations: 45.64 kB / 0.7511 GB, free: 7.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.2609, allocations: 0.7315 MB / 0.7519 GB, free: 6.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.2613, allocations: 386.5 kB / 0.7522 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.2618, allocations: 291.2 kB / 0.7525 GB, free: 6.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2619, allocations: 301.1 kB / 0.7528 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2629, allocations: 0.6129 MB / 0.7534 GB, free: 5.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.2644, allocations: 1.106 MB / 0.7545 GB, free: 3.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.267, allocations: 1.832 MB / 0.7563 GB, free: 1.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.2671, allocations: 8 kB / 0.7563 GB, free: 1.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003932/0.271, allocations: 2.1 MB / 0.7583 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.2711, allocations: 12 kB / 0.7583 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.2711, allocations: 16 kB / 0.7583 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/0.272, allocations: 267 kB / 0.7586 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.2733, allocations: 379.3 kB / 0.759 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.2837, allocations: 11.58 MB / 0.7703 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.2851, allocations: 127.8 kB / 0.7704 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2853, allocations: 76.11 kB / 0.7705 GB, free: 2.219 MB / 0.5606 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.0007075/0.286, allocations: 405.1 kB / 0.7708 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.2862, allocations: 130.4 kB / 0.771 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3067/0.5929, allocations: 1.668 MB / 0.7726 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.593, allocations: 12.92 kB / 0.7726 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.593, allocations: 2.281 kB / 0.7726 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/0.5931, allocations: 8.484 kB / 0.7726 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.599, allocations: 3.288 MB / 0.7758 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.599, allocations: 7 kB / 0.7758 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/0.5999, allocations: 222.3 kB / 0.7761 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/0.6006, allocations: 243.7 kB / 0.7763 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.6007, allocations: 28.53 kB / 0.7763 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006668/0.6074, allocations: 11.57 MB / 0.7876 GB, free: 65.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.6074, allocations: 5.906 kB / 0.7876 GB, free: 65.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.6101, allocations: 1.798 MB / 0.7894 GB, free: 64.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.6107, allocations: 305.6 kB / 0.7897 GB, free: 64.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.6108, allocations: 32.44 kB / 0.7897 GB, free: 64.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/0.6116, allocations: 95.38 kB / 0.7898 GB, free: 64.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.6118, allocations: 93.34 kB / 0.7899 GB, free: 64.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.6118, allocations: 39.25 kB / 0.7899 GB, free: 64.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008042/0.6127, allocations: 0.6163 MB / 0.7905 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6127, allocations: 0 / 0.7905 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001346/0.614, allocations: 394.4 kB / 0.7909 GB, free: 64.39 MB / 0.5606 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.002673/0.6167, allocations: 2.391 MB / 0.7932 GB, free: 62.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.6205, allocations: 2.873 MB / 0.796 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.6205, allocations: 0 / 0.796 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.6223, allocations: 1.634 MB / 0.7976 GB, free: 60.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.6241, allocations: 358.3 kB / 0.798 GB, free: 60.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.6394, allocations: 12.01 MB / 0.8097 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009107/0.6404, allocations: 1.332 MB / 0.811 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001138/0.6415, allocations: 359.4 kB / 0.8113 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.6421, allocations: 0.5341 MB / 0.8119 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.6421, allocations: 0 / 0.8119 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09307/0.7352, allocations: 27.94 MB / 0.8391 GB, free: 35.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.05, allocations: 8.297 kB / 0.8392 GB, free: 35.23 MB / 0.5606 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)