Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_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.00175/0.00175, allocations: 105.4 kB / 15.7 MB, free: 24 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.001914/0.001914, allocations: 195.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 73.72 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2819, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.009002/0.291, allocations: 4.284 MB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006102/0.2972, allocations: 2.421 MB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.298, allocations: 19.88 kB / 0.7902 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.2996, allocations: 370.2 kB / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.301, allocations: 370.1 kB / 0.7909 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3022, allocations: 323.2 kB / 0.7912 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3034, allocations: 0.6828 MB / 0.7919 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.304, allocations: 266.2 kB / 0.7922 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.3045, allocations: 255 kB / 0.7924 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.305, allocations: 266.9 kB / 0.7926 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.3051, allocations: 28 kB / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.3063, allocations: 435 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.3065, allocations: 143.6 kB / 0.7932 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.3068, allocations: 234.7 kB / 0.7935 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3081, allocations: 0.7359 MB / 0.7942 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3081, allocations: 0 / 0.7942 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3082, allocations: 0 / 0.7942 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.3082, allocations: 0 / 0.7942 GB, free: 2.41 MB / 0.6075 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.001715/0.3099, allocations: 0.787 MB / 0.7949 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.31, allocations: 12.03 kB / 0.7949 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.3101, allocations: 78.7 kB / 0.795 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.3123, allocations: 184.1 kB / 0.7952 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009215/0.3133, allocations: 444.4 kB / 0.7956 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.3133, allocations: 21.38 kB / 0.7956 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.3134, allocations: 36.36 kB / 0.7957 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.3147, allocations: 0.6586 MB / 0.7963 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3147, allocations: 7.938 kB / 0.7963 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.3148, allocations: 16.08 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.3149, allocations: 47.97 kB / 0.7964 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.3156, allocations: 0.4986 MB / 0.7969 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.3201, allocations: 3.771 MB / 0.8006 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.3226, allocations: 0.6399 MB / 0.8012 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.3231, allocations: 178.5 kB / 0.8014 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3231, allocations: 4 kB / 0.8014 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3232, allocations: 42.5 kB / 0.8014 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 4.048e-06/0.3232, allocations: 0 / 0.8014 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.003321/0.3265, allocations: 1.281 MB / 0.8026 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3266, allocations: 110.8 kB / 0.8028 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.3273, allocations: 401.7 kB / 0.8031 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.3274, allocations: 29.7 kB / 0.8032 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.3277, allocations: 279.5 kB / 0.8034 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3278, allocations: 118.3 kB / 0.8035 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.328, allocations: 98.16 kB / 0.8036 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3282, allocations: 354.7 kB / 0.804 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.3287, allocations: 177 kB / 0.8041 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.3293, allocations: 379.2 kB / 0.8045 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3303, allocations: 0.5874 MB / 0.8051 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3304, allocations: 4 kB / 0.8051 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00179/0.3322, allocations: 0.6748 MB / 0.8057 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.3322, allocations: 8 kB / 0.8058 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3322, allocations: 8.75 kB / 0.8058 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.3328, allocations: 102.4 kB / 0.8059 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.3334, allocations: 115.8 kB / 0.806 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.3385, allocations: 4.336 MB / 0.8102 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.3395, allocations: 31.97 kB / 0.8102 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.3396, allocations: 24 kB / 0.8103 GB, free: 0.6719 MB / 0.6231 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.0004954/0.3401, allocations: 205.7 kB / 0.8105 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.3403, allocations: 47.44 kB / 0.8105 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3417, allocations: 0.5152 MB / 0.811 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3417, allocations: 4 kB / 0.811 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3417, allocations: 7.984 kB / 0.811 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3417, allocations: 0 / 0.811 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3437, allocations: 1.279 MB / 0.8123 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3437, allocations: 7.984 kB / 0.8123 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.344, allocations: 59.91 kB / 0.8123 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.3443, allocations: 86.78 kB / 0.8124 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3443, allocations: 20 kB / 0.8124 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/0.3496, allocations: 4.336 MB / 0.8167 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.3496, allocations: 4 kB / 0.8167 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.351, allocations: 0.7867 MB / 0.8174 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.3513, allocations: 152.5 kB / 0.8176 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.3514, allocations: 15.98 kB / 0.8176 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.3519, allocations: 23.92 kB / 0.8176 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.352, allocations: 39.83 kB / 0.8177 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.352, allocations: 8 kB / 0.8177 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004576/0.3525, allocations: 283.1 kB / 0.8179 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3525, allocations: 0 / 0.8179 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001049/0.3536, allocations: 124 kB / 0.8181 GB, free: 8.062 MB / 0.6387 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.001641/0.3552, allocations: 1.326 MB / 0.8193 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.3569, allocations: 0.8096 MB / 0.8201 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3569, allocations: 3.938 kB / 0.8201 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3579, allocations: 0.5437 MB / 0.8207 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3593, allocations: 142.4 kB / 0.8208 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/0.3672, allocations: 4.532 MB / 0.8252 GB, free: 236 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.3679, allocations: 0.8741 MB / 0.8261 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.3683, allocations: 96.48 kB / 0.8262 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.3686, allocations: 155.4 kB / 0.8263 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.3686, allocations: 0 / 0.8263 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.4191, allocations: 9.916 MB / 0.836 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.832/10.25, allocations: 3.984 kB / 0.836 GB, free: 5.355 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)