Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.462/1.462, allocations: 287.4 MB / 302.5 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 181 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 88.81 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 15.47 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008564/0.231, allocations: 9.939 MB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006796/0.2378, allocations: 5.489 MB / 0.9938 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.2386, allocations: 43.62 kB / 0.9938 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.2392, allocations: 245.9 kB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.2412, allocations: 0.8864 MB / 0.9949 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2426, allocations: 0.5932 MB / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.2444, allocations: 2.38 MB / 0.9978 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.2477, allocations: 2.298 MB / 1 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.2486, allocations: 0.6924 MB / 1.001 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.2494, allocations: 0.8327 MB / 1.002 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2495, allocations: 59.94 kB / 1.002 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2507, allocations: 0.6046 MB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.251, allocations: 458.6 kB / 1.003 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.2512, allocations: 296.8 kB / 1.003 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2524, allocations: 1.792 MB / 1.005 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2525, allocations: 0 / 1.005 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2525, allocations: 4 kB / 1.005 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.2525, allocations: 0 / 1.005 GB, free: 1.379 MB / 0.6198 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.001963/0.2545, allocations: 1.599 MB / 1.006 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2545, allocations: 8.031 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.2547, allocations: 211.4 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.2586, allocations: 0.6776 MB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.2601, allocations: 0.9146 MB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.2602, allocations: 94.89 kB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.2604, allocations: 124.3 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.2633, allocations: 2.198 MB / 1.01 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.2633, allocations: 15.81 kB / 1.01 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.2635, allocations: 59.97 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.2636, allocations: 170.3 kB / 1.011 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.2663, allocations: 1.851 MB / 1.012 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.2803, allocations: 12.48 MB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/0.2863, allocations: 1.956 MB / 1.027 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2875, allocations: 0.6128 MB / 1.027 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.2878, allocations: 102 kB / 1.027 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.2878, allocations: 51.44 kB / 1.027 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 5.079e-06/0.2879, allocations: 0 / 1.027 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.008573/0.2964, allocations: 3.702 MB / 1.031 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2965, allocations: 64.41 kB / 1.031 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.2983, allocations: 0.9125 MB / 1.032 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.2984, allocations: 41.7 kB / 1.032 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.299, allocations: 0.7276 MB / 1.033 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.2995, allocations: 390.4 kB / 1.033 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.2996, allocations: 32 kB / 1.033 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2998, allocations: 365.9 kB / 1.033 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.3012, allocations: 0.6051 MB / 1.034 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.3029, allocations: 1.102 MB / 1.035 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.3061, allocations: 1.82 MB / 1.037 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.3061, allocations: 8 kB / 1.037 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004815/0.311, allocations: 2.088 MB / 1.039 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.311, allocations: 12 kB / 1.039 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.3111, allocations: 16 kB / 1.039 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3121, allocations: 259.3 kB / 1.039 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.3134, allocations: 367.4 kB / 1.039 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/0.3208, allocations: 10.77 MB / 1.05 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3219, allocations: 127.8 kB / 1.05 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.322, allocations: 71.98 kB / 1.05 GB, free: 15.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006168/0.3226, allocations: 401.3 kB / 1.051 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.3229, allocations: 130.4 kB / 1.051 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.3255, allocations: 1.677 MB / 1.052 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.3255, allocations: 8 kB / 1.052 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3255, allocations: 4 kB / 1.052 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3255, allocations: 3.984 kB / 1.052 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.3324, allocations: 3.284 MB / 1.056 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.3324, allocations: 4 kB / 1.056 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.3339, allocations: 223.6 kB / 1.056 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.3351, allocations: 250.5 kB / 1.056 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.3352, allocations: 31.98 kB / 1.056 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5208/0.856, allocations: 10.72 MB / 1.066 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.8561, allocations: 11.17 kB / 1.066 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.8597, allocations: 1.793 MB / 1.068 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/0.8605, allocations: 324.9 kB / 1.069 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.8606, allocations: 27.84 kB / 1.069 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.8614, allocations: 90.44 kB / 1.069 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.8617, allocations: 96.78 kB / 1.069 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.8618, allocations: 37.72 kB / 1.069 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001081/0.8628, allocations: 0.6111 MB / 1.069 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.8628, allocations: 4.062 kB / 1.069 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001641/0.8645, allocations: 391.7 kB / 1.07 GB, free: 80.16 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003538/0.868, allocations: 2.379 MB / 1.072 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.872, allocations: 2.487 MB / 1.075 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.872, allocations: 0.75 kB / 1.075 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.8742, allocations: 1.622 MB / 1.076 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.8767, allocations: 324 kB / 1.076 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.8912, allocations: 8.525 MB / 1.085 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.8925, allocations: 1.33 MB / 1.086 GB, free: 71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001423/0.894, allocations: 359.3 kB / 1.086 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.8946, allocations: 0.5158 MB / 1.087 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/0.8947, allocations: 0.5469 kB / 1.087 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8172/1.712, allocations: 26.76 MB / 1.113 GB, free: 62.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.712, allocations: 224.6 kB / 1.113 GB, free: 62.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/4.6, allocations: 3.875 kB / 1.113 GB, free: 62.1 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)