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.004611/0.004611, allocations: 98.62 kB / 15.73 MB, free: 6.02 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.001096/0.001096, allocations: 190.7 kB / 16.67 MB, free: 5.938 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 292.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8779/0.8779, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 95.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.372, allocations: 86.98 MB / 0.7659 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005003/0.3771, allocations: 4.283 MB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003116/0.3802, allocations: 2.365 MB / 0.7724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3804, allocations: 19.88 kB / 0.7724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.3814, allocations: 370.2 kB / 0.7728 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.382, allocations: 394.1 kB / 0.7731 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.3827, allocations: 311.2 kB / 0.7734 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.3832, allocations: 0.6867 MB / 0.7741 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.3836, allocations: 265.8 kB / 0.7744 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.3839, allocations: 255 kB / 0.7746 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3842, allocations: 266.9 kB / 0.7749 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.3842, allocations: 35.94 kB / 0.7749 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.3848, allocations: 435 kB / 0.7753 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3849, allocations: 139.6 kB / 0.7754 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3851, allocations: 230.8 kB / 0.7757 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.3858, allocations: 0.7405 MB / 0.7764 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3858, allocations: 0 / 0.7764 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3858, allocations: 0 / 0.7764 GB, free: 9.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3858, allocations: 0 / 0.7764 GB, free: 9.023 MB / 0.545 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.0009949/0.3868, allocations: 0.8096 MB / 0.7772 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3869, allocations: 8.031 kB / 0.7772 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.078e-05/0.3869, allocations: 74.72 kB / 0.7773 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.3882, allocations: 192.3 kB / 0.7774 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.3888, allocations: 444.7 kB / 0.7779 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3888, allocations: 25.38 kB / 0.7779 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.3889, allocations: 36.36 kB / 0.7779 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/0.3896, allocations: 0.6508 MB / 0.7786 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3896, allocations: 3.938 kB / 0.7786 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.3897, allocations: 19.98 kB / 0.7786 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-05/0.3898, allocations: 51.97 kB / 0.7786 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.3904, allocations: 0.49 MB / 0.7791 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.3933, allocations: 3.787 MB / 0.7828 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.3949, allocations: 0.6289 MB / 0.7834 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.3951, allocations: 182.4 kB / 0.7836 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3951, allocations: 7.984 kB / 0.7836 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3951, allocations: 38.56 kB / 0.7836 GB, free: 1.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.3951, allocations: 0 / 0.7836 GB, free: 1.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002121/0.3973, allocations: 1.294 MB / 0.7849 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3973, allocations: 106.8 kB / 0.785 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.3977, allocations: 401.8 kB / 0.7854 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3977, allocations: 33.7 kB / 0.7854 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3979, allocations: 284.1 kB / 0.7857 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.398, allocations: 130.9 kB / 0.7858 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3981, allocations: 98.2 kB / 0.7859 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3982, allocations: 358.7 kB / 0.7863 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3985, allocations: 177 kB / 0.7864 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.3988, allocations: 375.2 kB / 0.7868 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.3994, allocations: 0.5913 MB / 0.7874 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3995, allocations: 4 kB / 0.7874 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009375/0.4004, allocations: 0.6717 MB / 0.788 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4004, allocations: 14.66 kB / 0.788 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4004, allocations: 7.938 kB / 0.788 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.4008, allocations: 102.4 kB / 0.7881 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.4011, allocations: 111.8 kB / 0.7882 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.4041, allocations: 4.356 MB / 0.7925 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4044, allocations: 27.97 kB / 0.7925 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.4044, allocations: 24 kB / 0.7925 GB, free: 7.215 MB / 0.5606 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.0001901/0.4046, allocations: 201.5 kB / 0.7927 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.4047, allocations: 44.84 kB / 0.7928 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.4055, allocations: 0.5186 MB / 0.7933 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4055, allocations: 4 kB / 0.7933 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4055, allocations: 7.984 kB / 0.7933 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4055, allocations: 0 / 0.7933 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.4071, allocations: 1.283 MB / 0.7946 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4071, allocations: 7.984 kB / 0.7946 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.4074, allocations: 55.91 kB / 0.7946 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.4076, allocations: 102.7 kB / 0.7947 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4076, allocations: 8 kB / 0.7947 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.4103, allocations: 4.332 MB / 0.799 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4104, allocations: 3.938 kB / 0.799 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.4111, allocations: 0.7791 MB / 0.7997 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.4113, allocations: 160.7 kB / 0.7999 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.4114, allocations: 11.98 kB / 0.7999 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.4117, allocations: 19.98 kB / 0.7999 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.4117, allocations: 39.83 kB / 0.7999 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4118, allocations: 20 kB / 0.8 GB, free: 15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002376/0.412, allocations: 275.1 kB / 0.8002 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.412, allocations: 0 / 0.8002 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005855/0.4126, allocations: 124 kB / 0.8003 GB, free: 14.62 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.000998/0.4136, allocations: 1.324 MB / 0.8016 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.4147, allocations: 0.818 MB / 0.8024 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4147, allocations: 0 / 0.8024 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.4154, allocations: 0.5469 MB / 0.803 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.4163, allocations: 139.2 kB / 0.8031 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.421, allocations: 4.559 MB / 0.8075 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4213, allocations: 0.8664 MB / 0.8084 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.4216, allocations: 100.5 kB / 0.8085 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4218, allocations: 155.4 kB / 0.8086 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.4218, allocations: 0 / 0.8086 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.452, allocations: 10.04 MB / 0.8184 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.103/9.555, allocations: 12.84 kB / 0.8185 GB, free: 11.82 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)