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.425/1.425, allocations: 251.9 MB / 266.9 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.001048/0.001048, allocations: 175.3 kB / 326.5 MB, free: 2.234 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.592/1.592, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008487/0.0008489, allocations: 101.6 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 9.5 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1844, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0265/0.211, allocations: 33.21 MB / 0.9326 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.2278, allocations: 12.83 MB / 0.9451 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/0.2314, allocations: 87.69 kB / 0.9452 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.2342, allocations: 0.7142 MB / 0.9459 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.2404, allocations: 1.472 MB / 0.9474 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006513/0.247, allocations: 2.107 MB / 0.9494 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004944/0.252, allocations: 2.964 MB / 0.9523 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.2635, allocations: 10.04 MB / 0.9621 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.2661, allocations: 1.527 MB / 0.9636 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.2688, allocations: 1.694 MB / 0.9653 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008126/0.2697, allocations: 256 kB / 0.9655 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.2715, allocations: 0.5306 MB / 0.966 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.2735, allocations: 1.832 MB / 0.9678 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.2749, allocations: 0.82 MB / 0.9686 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009557/0.2845, allocations: 7.605 MB / 0.976 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2845, allocations: 0 / 0.976 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.337e-06/0.2845, allocations: 0 / 0.976 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002831/0.2848, allocations: 4 kB / 0.976 GB, free: 1.871 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007282/0.2921, allocations: 3.448 MB / 0.9794 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2922, allocations: 12.03 kB / 0.9794 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/0.2935, allocations: 0.6324 MB / 0.98 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.2978, allocations: 0.998 MB / 0.981 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.3038, allocations: 2.155 MB / 0.9831 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.3042, allocations: 328.6 kB / 0.9834 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/0.3056, allocations: 428 kB / 0.9838 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.3206, allocations: 7.299 MB / 0.991 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.3208, allocations: 11.88 kB / 0.991 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006536/0.3215, allocations: 188 kB / 0.9912 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.3218, allocations: 286.9 kB / 0.9914 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.3345, allocations: 5.932 MB / 0.9972 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03715/0.3717, allocations: 32.62 MB / 1.029 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.3749, allocations: 2.115 MB / 1.031 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.3751, allocations: 102.1 kB / 1.031 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3751, allocations: 51.56 kB / 1.031 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.316e-06/0.3751, allocations: 0 / 1.031 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.006751/0.3819, allocations: 5.219 MB / 1.036 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.382, allocations: 146.1 kB / 1.037 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.3836, allocations: 1.441 MB / 1.038 GB, free: 15.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.322e-05/0.3837, allocations: 41.7 kB / 1.038 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3848, allocations: 1.867 MB / 1.04 GB, free: 13.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.3851, allocations: 371 kB / 1.04 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3852, allocations: 43.94 kB / 1.04 GB, free: 12.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3854, allocations: 390 kB / 1.041 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.3869, allocations: 1.097 MB / 1.042 GB, free: 11.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.3889, allocations: 2.172 MB / 1.044 GB, free: 8.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.3908, allocations: 1.525 MB / 1.045 GB, free: 7.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.3908, allocations: 12 kB / 1.045 GB, free: 7.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005018/0.3958, allocations: 3.304 MB / 1.048 GB, free: 3.723 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.414/0.8099, allocations: 13.41 MB / 1.062 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.087e-05/0.81, allocations: 39.94 kB / 1.062 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.8101, allocations: 57.69 kB / 1.062 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.8126, allocations: 0.6215 MB / 1.062 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.248e-05/0.8126, allocations: 68.58 kB / 1.062 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8144, allocations: 305.2 kB / 1.063 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.8146, allocations: 112.5 kB / 1.063 GB, free: 126.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.8146, allocations: 5 kB / 1.063 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00333/0.8179, allocations: 2.739 MB / 1.065 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.818, allocations: 34.69 kB / 1.065 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.709e-05/0.8181, allocations: 50.31 kB / 1.066 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.8196, allocations: 0.5525 MB / 1.066 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/0.8196, allocations: 70.61 kB / 1.066 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.821, allocations: 218 kB / 1.066 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.8211, allocations: 114 kB / 1.066 GB, free: 126 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002795/0.8239, allocations: 1.712 MB / 1.068 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.8244, allocations: 155.8 kB / 1.068 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.8284, allocations: 2.232 MB / 1.07 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.8285, allocations: 10.44 kB / 1.07 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.8285, allocations: 2.25 kB / 1.07 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.8285, allocations: 5.781 kB / 1.07 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.8459, allocations: 10.97 MB / 1.081 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.846, allocations: 11.28 kB / 1.081 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.8475, allocations: 389.7 kB / 1.082 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/0.8475, allocations: 17.22 kB / 1.082 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-05/0.8476, allocations: 32.12 kB / 1.082 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-05/0.8476, allocations: 28.23 kB / 1.082 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/0.8477, allocations: 23.25 kB / 1.082 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.8508, allocations: 3.464 MB / 1.085 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.8517, allocations: 466.8 kB / 1.085 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8519, allocations: 39.33 kB / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8529, allocations: 162.7 kB / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.8531, allocations: 102.3 kB / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.8532, allocations: 39.59 kB / 1.086 GB, free: 121.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001175/0.8544, allocations: 0.9634 MB / 1.087 GB, free: 120.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8544, allocations: 3.938 kB / 1.087 GB, free: 120.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004142/0.8585, allocations: 1.124 MB / 1.088 GB, free: 120.7 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 (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.004747/0.8633, allocations: 7.282 MB / 1.095 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00511/0.8684, allocations: 3.962 MB / 1.099 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.8685, allocations: 7.844 kB / 1.099 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.8695, allocations: 1.056 MB / 1.1 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.8713, allocations: 382 kB / 1.1 GB, free: 112.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.8961, allocations: 39.82 MB / 1.139 GB, free: 72.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/0.8984, allocations: 2.939 MB / 1.142 GB, free: 69.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002633/0.901, allocations: 1.207 MB / 1.143 GB, free: 68.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.9023, allocations: 1.28 MB / 1.144 GB, free: 67.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/0.9023, allocations: 4 kB / 1.144 GB, free: 67.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/0.998, allocations: 45.9 MB / 1.189 GB, free: 22.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.9982, allocations: 216.1 kB / 1.189 GB, free: 21.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.991, allocations: 0 / 1.189 GB, free: 21.78 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)