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.00543/0.00543, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001299/0.001299, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 286.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002667, allocations: 100.2 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.423, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005781/0.4289, allocations: 4.276 MB / 0.7855 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.4326, allocations: 2.377 MB / 0.7878 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.4329, allocations: 16.44 kB / 0.7878 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.434, allocations: 374.5 kB / 0.7882 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008962/0.4349, allocations: 366.5 kB / 0.7886 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.4357, allocations: 313.3 kB / 0.7889 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.4365, allocations: 0.6876 MB / 0.7895 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.4369, allocations: 265.8 kB / 0.7898 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.4373, allocations: 247.6 kB / 0.79 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.4378, allocations: 276 kB / 0.7903 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.4379, allocations: 29.16 kB / 0.7903 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.4386, allocations: 429.5 kB / 0.7907 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.4388, allocations: 143.8 kB / 0.7909 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4391, allocations: 237.5 kB / 0.7911 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009404/0.44, allocations: 0.7348 MB / 0.7918 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.44, allocations: 5.906 kB / 0.7918 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.44, allocations: 0 / 0.7918 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.44, allocations: 0 / 0.7918 GB, free: 7.422 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001226/0.4413, allocations: 0.8044 MB / 0.7926 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4413, allocations: 9.938 kB / 0.7926 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.71e-05/0.4414, allocations: 77.41 kB / 0.7927 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.4428, allocations: 196 kB / 0.7929 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.4434, allocations: 439.5 kB / 0.7933 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4435, allocations: 23.16 kB / 0.7933 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.4435, allocations: 37.58 kB / 0.7933 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.4445, allocations: 0.6521 MB / 0.794 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.4445, allocations: 5.797 kB / 0.794 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.4446, allocations: 18.47 kB / 0.794 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.06e-05/0.4447, allocations: 53.45 kB / 0.794 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.4454, allocations: 0.4892 MB / 0.7945 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.4489, allocations: 3.777 MB / 0.7982 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4506, allocations: 0.636 MB / 0.7988 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.4509, allocations: 177.1 kB / 0.799 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4509, allocations: 3.312 kB / 0.799 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4509, allocations: 42.38 kB / 0.799 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.451, allocations: 3.938 kB / 0.7991 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002291/0.4533, allocations: 1.291 MB / 0.8003 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.4533, allocations: 107.3 kB / 0.8004 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.4538, allocations: 404.7 kB / 0.8008 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4538, allocations: 31.64 kB / 0.8008 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.454, allocations: 286.9 kB / 0.8011 GB, free: 228 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.4541, allocations: 122 kB / 0.8012 GB, free: 120 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.4542, allocations: 98.89 kB / 0.8013 GB, free: 56 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4544, allocations: 357.5 kB / 0.8017 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4547, allocations: 170.7 kB / 0.8018 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.4551, allocations: 387.9 kB / 0.8022 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.4559, allocations: 0.5942 MB / 0.8028 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4559, allocations: 1.219 kB / 0.8028 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00107/0.457, allocations: 0.6757 MB / 0.8034 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.457, allocations: 8.312 kB / 0.8034 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.457, allocations: 7.188 kB / 0.8034 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.4573, allocations: 105.8 kB / 0.8035 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.4577, allocations: 111.4 kB / 0.8037 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.4613, allocations: 4.351 MB / 0.8079 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.4617, allocations: 29.72 kB / 0.8079 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.4617, allocations: 24.16 kB / 0.808 GB, free: 9.883 MB / 0.5762 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.0002419/0.462, allocations: 210.9 kB / 0.8082 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4621, allocations: 47.28 kB / 0.8082 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009246/0.463, allocations: 0.5136 MB / 0.8087 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.463, allocations: 4.656 kB / 0.8087 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.463, allocations: 9.562 kB / 0.8087 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.463, allocations: 1.469 kB / 0.8087 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.4648, allocations: 1.287 MB / 0.81 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4648, allocations: 2.656 kB / 0.81 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.4651, allocations: 57.12 kB / 0.81 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.4654, allocations: 95.31 kB / 0.8101 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.4654, allocations: 12.34 kB / 0.8101 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/0.469, allocations: 4.335 MB / 0.8144 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.469, allocations: 11.17 kB / 0.8144 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.47, allocations: 0.7848 MB / 0.8151 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.4702, allocations: 151.7 kB / 0.8153 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.4702, allocations: 17.23 kB / 0.8153 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.4705, allocations: 18.92 kB / 0.8153 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4706, allocations: 33.14 kB / 0.8154 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4706, allocations: 14.12 kB / 0.8154 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003164/0.471, allocations: 285.1 kB / 0.8156 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.471, allocations: 0 / 0.8156 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006585/0.4716, allocations: 124.6 kB / 0.8158 GB, free: 2.859 MB / 0.5762 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.001231/0.4729, allocations: 1.322 MB / 0.817 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.4741, allocations: 0.8122 MB / 0.8178 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4741, allocations: 0 / 0.8178 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.4748, allocations: 0.5504 MB / 0.8184 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.4757, allocations: 130.5 kB / 0.8185 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.4814, allocations: 4.572 MB / 0.823 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.482, allocations: 0.8661 MB / 0.8238 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003016/0.4823, allocations: 100.3 kB / 0.8239 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.4825, allocations: 154.5 kB / 0.8241 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 4.9e-07/0.4825, allocations: 0 / 0.8241 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.5248, allocations: 10.04 MB / 0.8339 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.7, allocations: 3.75 kB / 0.8339 GB, free: 7.398 MB / 0.5919 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)