Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.00109, allocations: 172.1 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.578 GB, free: 20.37 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008941, allocations: 76 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 9.125 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03048/0.2449, allocations: 36.02 MB / 0.9361 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.2646, allocations: 13.51 MB / 0.9493 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005202/0.2698, allocations: 95.62 kB / 0.9494 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.2727, allocations: 0.5973 MB / 0.95 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.2776, allocations: 1.331 MB / 0.9513 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.2835, allocations: 1.938 MB / 0.9532 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008522/0.2921, allocations: 9.573 MB / 0.9625 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/0.3107, allocations: 11.93 MB / 0.9742 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.3146, allocations: 1.887 MB / 0.976 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/0.3204, allocations: 2.706 MB / 0.9786 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.3218, allocations: 256 kB / 0.9789 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.3247, allocations: 1.049 MB / 0.9799 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002916/0.3277, allocations: 1.999 MB / 0.9819 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003886/0.3316, allocations: 2.023 MB / 0.9838 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3421, allocations: 8.676 MB / 0.9923 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3422, allocations: 4 kB / 0.9923 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3422, allocations: 0 / 0.9923 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003132/0.3425, allocations: 0 / 0.9923 GB, free: 1.77 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008555/0.3511, allocations: 3.397 MB / 0.9956 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3512, allocations: 12.02 kB / 0.9956 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002272/0.3534, allocations: 0.6365 MB / 0.9963 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.3583, allocations: 0.9443 MB / 0.9972 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.3636, allocations: 2.194 MB / 0.9993 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/0.364, allocations: 329 kB / 0.9996 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.3659, allocations: 428.3 kB / 1 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.3835, allocations: 7.358 MB / 1.007 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.3837, allocations: 15.92 kB / 1.007 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005578/0.3842, allocations: 184 kB / 1.007 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003453/0.3846, allocations: 286.9 kB / 1.008 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.3975, allocations: 5.963 MB / 1.014 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/0.4423, allocations: 32.64 MB / 1.045 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.4459, allocations: 2.115 MB / 1.047 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.4478, allocations: 1.238 MB / 1.049 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.448, allocations: 98.09 kB / 1.049 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.4481, allocations: 55.48 kB / 1.049 GB, free: 4.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 4.729e-06/0.4481, allocations: 0 / 1.049 GB, free: 4.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.4557/0.9039, allocations: 5.238 MB / 1.054 GB, free: 139.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.904, allocations: 139.3 kB / 1.054 GB, free: 139.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.9059, allocations: 1.452 MB / 1.055 GB, free: 139.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.9062, allocations: 44.02 kB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.9072, allocations: 1.866 MB / 1.057 GB, free: 138.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.9075, allocations: 371 kB / 1.058 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.9077, allocations: 42.97 kB / 1.058 GB, free: 138.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9078, allocations: 395.4 kB / 1.058 GB, free: 138 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.9094, allocations: 1.109 MB / 1.059 GB, free: 138 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.9114, allocations: 2.187 MB / 1.061 GB, free: 136.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/0.9152, allocations: 3.402 MB / 1.065 GB, free: 135.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-05/0.9153, allocations: 13.53 kB / 1.065 GB, free: 135.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006019/0.9213, allocations: 3.313 MB / 1.068 GB, free: 134.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006343/0.922, allocations: 1.091 MB / 1.069 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.897e-05/0.922, allocations: 34.12 kB / 1.069 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.564e-05/0.9222, allocations: 47.06 kB / 1.069 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.9247, allocations: 0.6194 MB / 1.07 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.16e-05/0.9248, allocations: 71.45 kB / 1.07 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.927, allocations: 305.9 kB / 1.07 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.9273, allocations: 122 kB / 1.07 GB, free: 133.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9273, allocations: 4.094 kB / 1.07 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004799/0.9321, allocations: 2.749 MB / 1.073 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.379e-05/0.9322, allocations: 33.59 kB / 1.073 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.317e-05/0.9323, allocations: 50.14 kB / 1.073 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.9341, allocations: 0.5529 MB / 1.073 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.193e-05/0.9342, allocations: 69.83 kB / 1.074 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.9358, allocations: 232.2 kB / 1.074 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.936, allocations: 116.4 kB / 1.074 GB, free: 133.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003184/0.9392, allocations: 1.705 MB / 1.076 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.9398, allocations: 159.2 kB / 1.076 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.9429, allocations: 2.23 MB / 1.078 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.9429, allocations: 14.94 kB / 1.078 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.943, allocations: 1.031 kB / 1.078 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.943, allocations: 8.688 kB / 1.078 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9557, allocations: 10.98 MB / 1.089 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.9558, allocations: 15.38 kB / 1.089 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9571, allocations: 380.7 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.9571, allocations: 16.28 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.9572, allocations: 35.45 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.9572, allocations: 19.59 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.9572, allocations: 27.03 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.9598, allocations: 2.75 MB / 1.092 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.9604, allocations: 478.2 kB / 1.092 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.9606, allocations: 33.59 kB / 1.092 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/0.9616, allocations: 174.2 kB / 1.092 GB, free: 124.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.9618, allocations: 96.84 kB / 1.092 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.9618, allocations: 43.06 kB / 1.093 GB, free: 124.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00115/0.963, allocations: 0.9718 MB / 1.093 GB, free: 123.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.963, allocations: 0 / 1.093 GB, free: 123.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003641/0.9667, allocations: 1.121 MB / 1.095 GB, free: 123.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002636/0.9693, allocations: 3.356 MB / 1.098 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004612/0.9739, allocations: 3.977 MB / 1.102 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.974, allocations: 0 / 1.102 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.975, allocations: 1.06 MB / 1.103 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/0.9789, allocations: 431.7 kB / 1.103 GB, free: 114.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/1.007, allocations: 24.32 MB / 1.127 GB, free: 88.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.012, allocations: 2.876 MB / 1.13 GB, free: 85.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004952/1.017, allocations: 1.206 MB / 1.131 GB, free: 84.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/1.019, allocations: 1.273 MB / 1.132 GB, free: 83 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.019, allocations: 0 / 1.132 GB, free: 83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0854/1.105, allocations: 44.39 MB / 1.176 GB, free: 39.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.105, allocations: 231.4 kB / 1.176 GB, free: 38.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/4.587, allocations: 3.062 kB / 1.176 GB, free: 38.79 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)