Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.875/1.875, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001018/0.001018, allocations: 173.7 kB / 372 MB, free: 10.26 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.745/1.745, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0007739/0.0007738, allocations: 86.34 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01661/0.2303, allocations: 18.52 MB / 0.9977 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2409, allocations: 7.178 MB / 1.005 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.2431, allocations: 55.75 kB / 1.005 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.2441, allocations: 353.4 kB / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.2463, allocations: 0.7507 MB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.2494, allocations: 1.015 MB / 1.007 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005583/0.255, allocations: 4.934 MB / 1.012 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.2652, allocations: 6.537 MB / 1.018 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.2681, allocations: 1.281 MB / 1.019 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/0.2719, allocations: 1.834 MB / 1.021 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.273, allocations: 172 kB / 1.021 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.275, allocations: 431.6 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.2771, allocations: 1.337 MB / 1.023 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.2782, allocations: 0.555 MB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.2842, allocations: 5.139 MB / 1.029 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2842, allocations: 3.938 kB / 1.029 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.196e-06/0.2842, allocations: 0 / 1.029 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002008/0.2845, allocations: 0 / 1.029 GB, free: 9.273 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006074/0.2905, allocations: 2.47 MB / 1.031 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2906, allocations: 8.031 kB / 1.031 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009363/0.2915, allocations: 445.8 kB / 1.031 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.2946, allocations: 0.6912 MB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.2977, allocations: 1.515 MB / 1.034 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.2978, allocations: 217.8 kB / 1.034 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004987/0.2983, allocations: 288 kB / 1.034 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3089, allocations: 5.027 MB / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.309, allocations: 7.938 kB / 1.039 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.3093, allocations: 124 kB / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/0.3096, allocations: 208.6 kB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007545/0.3172, allocations: 4.169 MB / 1.043 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/0.3473, allocations: 23.01 MB / 1.066 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.49/0.8373, allocations: 1.71 MB / 1.067 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.8395, allocations: 1.122 MB / 1.069 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.8397, allocations: 110.9 kB / 1.069 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.8397, allocations: 43.52 kB / 1.069 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.256e-06/0.8398, allocations: 0 / 1.069 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.007693/0.8475, allocations: 3.999 MB / 1.073 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.8476, allocations: 145.8 kB / 1.073 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.8491, allocations: 0.838 MB / 1.074 GB, free: 82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.8492, allocations: 43.33 kB / 1.074 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/0.85, allocations: 1.168 MB / 1.075 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.8503, allocations: 308.2 kB / 1.075 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.8504, allocations: 27.84 kB / 1.075 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.8506, allocations: 404.9 kB / 1.075 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.8521, allocations: 0.7936 MB / 1.076 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.8537, allocations: 1.293 MB / 1.078 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.8554, allocations: 0.9911 MB / 1.078 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.8555, allocations: 4.312 kB / 1.078 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004528/0.86, allocations: 2.167 MB / 1.081 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.8604, allocations: 0.5044 MB / 1.081 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.8605, allocations: 14.25 kB / 1.081 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.487e-05/0.8606, allocations: 22.38 kB / 1.081 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.8625, allocations: 413.5 kB / 1.082 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.282e-05/0.8626, allocations: 27.09 kB / 1.082 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.8641, allocations: 207.8 kB / 1.082 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.8643, allocations: 66.88 kB / 1.082 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8643, allocations: 3.125 kB / 1.082 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003305/0.8676, allocations: 1.761 MB / 1.084 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.8676, allocations: 13.78 kB / 1.084 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/0.8677, allocations: 23.53 kB / 1.084 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.8691, allocations: 357.8 kB / 1.084 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.067e-05/0.8691, allocations: 36.28 kB / 1.084 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8703, allocations: 143.6 kB / 1.084 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8705, allocations: 61.5 kB / 1.084 GB, free: 76.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002756/0.8732, allocations: 1.176 MB / 1.085 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.8737, allocations: 100.6 kB / 1.085 GB, free: 76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/0.877, allocations: 1.848 MB / 1.087 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.8771, allocations: 9.312 kB / 1.087 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.8771, allocations: 5.391 kB / 1.087 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.8771, allocations: 6.25 kB / 1.087 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.8931, allocations: 9.589 MB / 1.097 GB, free: 71.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.8932, allocations: 7.906 kB / 1.097 GB, free: 71.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.8944, allocations: 322.8 kB / 1.097 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.8944, allocations: 15.78 kB / 1.097 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.8945, allocations: 31.69 kB / 1.097 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.8945, allocations: 23.58 kB / 1.097 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/0.8945, allocations: 22.91 kB / 1.097 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.8972, allocations: 2.399 MB / 1.099 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.8978, allocations: 380 kB / 1.1 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.898, allocations: 32.67 kB / 1.1 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.8989, allocations: 141.2 kB / 1.1 GB, free: 69.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.8991, allocations: 95.25 kB / 1.1 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.8992, allocations: 38.78 kB / 1.1 GB, free: 69.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008471/0.9001, allocations: 0.5818 MB / 1.101 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9001, allocations: 0 / 1.101 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00337/0.9035, allocations: 0.7503 MB / 1.101 GB, free: 69.43 MB / 0.6823 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 (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003306/0.9068, allocations: 2.977 MB / 1.104 GB, free: 67.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00481/0.9116, allocations: 2.829 MB / 1.107 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.9117, allocations: 1.375 kB / 1.107 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.9131, allocations: 0.9125 MB / 1.108 GB, free: 65.42 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.9151, allocations: 288 kB / 1.108 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.9363, allocations: 11.47 MB / 1.119 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.9385, allocations: 2.13 MB / 1.121 GB, free: 56.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002033/0.9405, allocations: 0.7282 MB / 1.122 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/0.9415, allocations: 0.8318 MB / 1.123 GB, free: 55.35 MB / 0.6823 GB Notification: Performance of SimCode: time 3.186e-06/0.9415, allocations: 0 / 1.123 GB, free: 55.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.9902, allocations: 31.14 MB / 1.153 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.9904, allocations: 222.2 kB / 1.154 GB, free: 24.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.699, allocations: 2.953 kB / 1.154 GB, free: 24.42 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)