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.796/1.796, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.000929/0.0009291, allocations: 179 kB / 372.3 MB, free: 10.12 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.625/1.625, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007926/0.0007923, allocations: 94.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 12.06 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01534/0.2435, allocations: 18.54 MB / 0.9983 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009342/0.2528, allocations: 7.17 MB / 1.005 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2543, allocations: 51.81 kB / 1.005 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.2551, allocations: 361.3 kB / 1.006 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.2568, allocations: 0.8443 MB / 1.007 GB, free: 188 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.2597, allocations: 1.057 MB / 1.008 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.2646, allocations: 4.985 MB / 1.012 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009731/0.2744, allocations: 7.432 MB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.2767, allocations: 1.273 MB / 1.021 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.2791, allocations: 1.842 MB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.2794, allocations: 176 kB / 1.023 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.281, allocations: 0.7954 MB / 1.024 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.2823, allocations: 1.333 MB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.2837, allocations: 1.32 MB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.2885, allocations: 5.151 MB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2885, allocations: 7.938 kB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2885, allocations: 0 / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001501/0.2887, allocations: 0 / 1.031 GB, free: 6.672 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.005844/0.2945, allocations: 2.444 MB / 1.034 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2946, allocations: 8.031 kB / 1.034 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007659/0.2954, allocations: 450 kB / 1.034 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.2982, allocations: 0.6844 MB / 1.035 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.3006, allocations: 1.54 MB / 1.036 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3008, allocations: 226.1 kB / 1.037 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.3012, allocations: 280.4 kB / 1.037 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.3092, allocations: 5.035 MB / 1.042 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.3093, allocations: 7.938 kB / 1.042 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/0.3096, allocations: 120 kB / 1.042 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/0.3098, allocations: 212.6 kB / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/0.3171, allocations: 4.169 MB / 1.046 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5432/0.8604, allocations: 23.01 MB / 1.069 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.8637, allocations: 1.72 MB / 1.07 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.8656, allocations: 1.122 MB / 1.071 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.8658, allocations: 105.1 kB / 1.071 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.8659, allocations: 47.59 kB / 1.071 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.8659, allocations: 0 / 1.071 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.007062/0.873, allocations: 3.993 MB / 1.075 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.8731, allocations: 150.7 kB / 1.076 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.8746, allocations: 0.8393 MB / 1.076 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.8747, allocations: 42.42 kB / 1.076 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009714/0.8757, allocations: 1.159 MB / 1.078 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.8761, allocations: 311.7 kB / 1.078 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.8762, allocations: 27.64 kB / 1.078 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.8764, allocations: 410 kB / 1.078 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.878, allocations: 0.7939 MB / 1.079 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.8797, allocations: 1.287 MB / 1.08 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.8829, allocations: 2.137 MB / 1.082 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.883, allocations: 4.672 kB / 1.082 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004352/0.8873, allocations: 2.168 MB / 1.084 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/0.8877, allocations: 0.4996 MB / 1.085 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.8878, allocations: 13.47 kB / 1.085 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-05/0.8878, allocations: 21.98 kB / 1.085 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.8895, allocations: 409.4 kB / 1.085 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.878e-05/0.8896, allocations: 32.09 kB / 1.085 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8912, allocations: 208.7 kB / 1.086 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.8913, allocations: 62.22 kB / 1.086 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8913, allocations: 3.625 kB / 1.086 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/0.8945, allocations: 1.762 MB / 1.087 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.8946, allocations: 13.69 kB / 1.087 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.8946, allocations: 22.67 kB / 1.087 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.896, allocations: 357.9 kB / 1.088 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-05/0.8961, allocations: 31.98 kB / 1.088 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.8972, allocations: 145.5 kB / 1.088 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8974, allocations: 59.77 kB / 1.088 GB, free: 69.25 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.002637/0.9, allocations: 1.176 MB / 1.089 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.9004, allocations: 100.5 kB / 1.089 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.9034, allocations: 1.853 MB / 1.091 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.9034, allocations: 11.72 kB / 1.091 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9034, allocations: 1.031 kB / 1.091 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9035, allocations: 5.641 kB / 1.091 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9169, allocations: 9.593 MB / 1.1 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.9169, allocations: 8.875 kB / 1.1 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.9181, allocations: 317.8 kB / 1.101 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.9182, allocations: 15.47 kB / 1.101 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.9183, allocations: 29.66 kB / 1.101 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.9183, allocations: 22.95 kB / 1.101 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/0.9183, allocations: 17.19 kB / 1.101 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.9211, allocations: 2.403 MB / 1.103 GB, free: 62.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/0.9217, allocations: 384.5 kB / 1.104 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.9219, allocations: 33.27 kB / 1.104 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.9228, allocations: 134.8 kB / 1.104 GB, free: 62.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.923, allocations: 95.39 kB / 1.104 GB, free: 62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.9231, allocations: 42.7 kB / 1.104 GB, free: 61.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007753/0.9238, allocations: 0.5804 MB / 1.104 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.513e-06/0.9239, allocations: 0 / 1.104 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003111/0.927, allocations: 0.7528 MB / 1.105 GB, free: 61.61 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.003077/0.9301, allocations: 2.984 MB / 1.108 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004451/0.9345, allocations: 2.825 MB / 1.111 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.9346, allocations: 2.125 kB / 1.111 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.9359, allocations: 0.9104 MB / 1.112 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/0.9391, allocations: 283.8 kB / 1.112 GB, free: 57.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9553, allocations: 11.48 MB / 1.123 GB, free: 49.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.9573, allocations: 2.119 MB / 1.125 GB, free: 48.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001917/0.9592, allocations: 0.7444 MB / 1.126 GB, free: 48.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000984/0.9602, allocations: 0.83 MB / 1.127 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of SimCode: time 1.173e-06/0.9603, allocations: 0 / 1.127 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.89/1.85, allocations: 31.23 MB / 1.157 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.85, allocations: 221 kB / 1.158 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/4.733, allocations: 3.062 kB / 1.158 GB, free: 16.45 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)