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.309/1.309, allocations: 251.5 MB / 266.7 MB, free: 11 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.0008975/0.0008975, allocations: 169.3 kB / 325.8 MB, free: 2.668 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.543/1.543, allocations: 205 MB / 0.576 GB, free: 20.54 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.000686/0.0006859, allocations: 90.31 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 9.625 kB / 0.7933 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1555, allocations: 105.4 MB / 0.8962 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02522/0.1807, allocations: 36.58 MB / 0.9319 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.1954, allocations: 13.64 MB / 0.9453 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.1975, allocations: 99.62 kB / 0.9454 GB, free: 17.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.2012, allocations: 2.094 MB / 0.9474 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.2033, allocations: 1.343 MB / 0.9487 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005369/0.2087, allocations: 3.242 MB / 0.9519 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.2138, allocations: 9.592 MB / 0.9612 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.2264, allocations: 11.14 MB / 0.9721 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.2291, allocations: 1.891 MB / 0.974 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.2323, allocations: 2.721 MB / 0.9766 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.2328, allocations: 252 kB / 0.9769 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.2346, allocations: 1.057 MB / 0.9779 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.2365, allocations: 1.999 MB / 0.9799 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.2385, allocations: 1.99 MB / 0.9818 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.2459, allocations: 8.672 MB / 0.9903 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2459, allocations: 0 / 0.9903 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2459, allocations: 3.938 kB / 0.9903 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002314/0.2462, allocations: 0 / 0.9903 GB, free: 2.867 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.006107/0.2523, allocations: 3.405 MB / 0.9936 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2523, allocations: 8.031 kB / 0.9936 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008272/0.2532, allocations: 0.6404 MB / 0.9942 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.2564, allocations: 0.9365 MB / 0.9951 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.2598, allocations: 2.194 MB / 0.9973 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.2601, allocations: 329 kB / 0.9976 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006019/0.2607, allocations: 424.3 kB / 0.998 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.271, allocations: 7.365 MB / 1.005 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.594e-05/0.2711, allocations: 7.938 kB / 1.005 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.2715, allocations: 188 kB / 1.005 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.2718, allocations: 282.9 kB / 1.006 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009764/0.2816, allocations: 5.967 MB / 1.011 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.3116, allocations: 32.64 MB / 1.043 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.3144, allocations: 2.115 MB / 1.045 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3157, allocations: 1.232 MB / 1.047 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.3159, allocations: 98.08 kB / 1.047 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3159, allocations: 51.5 kB / 1.047 GB, free: 5.703 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 2.865e-06/0.3159, allocations: 0 / 1.047 GB, free: 5.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.006018/0.322, allocations: 5.243 MB / 1.052 GB, free: 428 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.322, allocations: 149.5 kB / 1.052 GB, free: 248 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3132/0.6353, allocations: 1.447 MB / 1.053 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.6356, allocations: 42.98 kB / 1.053 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/0.6364, allocations: 1.862 MB / 1.055 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.6367, allocations: 379.7 kB / 1.056 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.6369, allocations: 166.2 kB / 1.056 GB, free: 142.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.637, allocations: 306.7 kB / 1.056 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.6385, allocations: 1.107 MB / 1.057 GB, free: 142.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.6404, allocations: 2.189 MB / 1.059 GB, free: 141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.6437, allocations: 3.397 MB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.6438, allocations: 9.938 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004855/0.6486, allocations: 3.321 MB / 1.066 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/0.649, allocations: 1.087 MB / 1.067 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/0.6491, allocations: 34.09 kB / 1.067 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.166e-05/0.6492, allocations: 47.22 kB / 1.067 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.6511, allocations: 0.6178 MB / 1.068 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-05/0.6512, allocations: 70.73 kB / 1.068 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.6528, allocations: 310.3 kB / 1.068 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.653, allocations: 117.6 kB / 1.068 GB, free: 137.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.653, allocations: 4.406 kB / 1.068 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003264/0.6563, allocations: 2.757 MB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/0.6563, allocations: 34.05 kB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/0.6563, allocations: 46.88 kB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.6578, allocations: 0.5503 MB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-05/0.6579, allocations: 69.83 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.659, allocations: 230.2 kB / 1.072 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.6591, allocations: 109.2 kB / 1.072 GB, free: 136.8 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.002025/0.6612, allocations: 1.715 MB / 1.074 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.6614, allocations: 152.9 kB / 1.074 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.664, allocations: 2.228 MB / 1.076 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.664, allocations: 11.56 kB / 1.076 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.664, allocations: 10.67 kB / 1.076 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.664, allocations: 9.234 kB / 1.076 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6747, allocations: 10.98 MB / 1.087 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6748, allocations: 11.72 kB / 1.087 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6759, allocations: 387 kB / 1.087 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.676, allocations: 16 kB / 1.087 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.676, allocations: 35.2 kB / 1.087 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.676, allocations: 19.34 kB / 1.087 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.6761, allocations: 15.12 kB / 1.087 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.6782, allocations: 2.764 MB / 1.09 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.6787, allocations: 454.8 kB / 1.09 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6789, allocations: 36.06 kB / 1.09 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.6797, allocations: 170.3 kB / 1.09 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6799, allocations: 94.19 kB / 1.09 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.68, allocations: 43.81 kB / 1.091 GB, free: 127.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008742/0.6809, allocations: 0.9757 MB / 1.091 GB, free: 127.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6809, allocations: 0 / 1.091 GB, free: 127.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002901/0.6838, allocations: 1.129 MB / 1.093 GB, free: 126.4 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.002357/0.6861, allocations: 3.345 MB / 1.096 GB, free: 122.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003997/0.6902, allocations: 3.981 MB / 1.1 GB, free: 118.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6902, allocations: 4 kB / 1.1 GB, free: 118.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009238/0.6911, allocations: 1.063 MB / 1.101 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.6947, allocations: 419.8 kB / 1.101 GB, free: 117.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/0.7171, allocations: 24.32 MB / 1.125 GB, free: 91.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.7191, allocations: 2.868 MB / 1.128 GB, free: 88.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002379/0.7215, allocations: 1.208 MB / 1.129 GB, free: 87.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.7226, allocations: 1.272 MB / 1.13 GB, free: 85.91 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/0.7226, allocations: 0 / 1.13 GB, free: 85.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8087/1.531, allocations: 44.39 MB / 1.173 GB, free: 41.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.532, allocations: 232.2 kB / 1.174 GB, free: 41.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.645, allocations: 8 kB / 1.174 GB, free: 41.69 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)