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.451/1.451, allocations: 252 MB / 267 MB, free: 10.92 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.001001/0.001001, allocations: 178.3 kB / 326.6 MB, free: 2.203 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.863/1.863, allocations: 205.4 MB / 0.5776 GB, free: 20.24 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.0007053/0.0007052, allocations: 92.69 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 8.781 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02746/0.2355, allocations: 33.9 MB / 0.9334 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2542, allocations: 12.88 MB / 0.946 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.2578, allocations: 95.62 kB / 0.9461 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2599, allocations: 0.5778 MB / 0.9467 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.2632, allocations: 1.093 MB / 0.9477 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.2687, allocations: 1.506 MB / 0.9492 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008135/0.2769, allocations: 7.281 MB / 0.9563 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/0.2922, allocations: 10.06 MB / 0.9661 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.2963, allocations: 1.876 MB / 0.968 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.3015, allocations: 2.644 MB / 0.9705 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.3031, allocations: 256 kB / 0.9708 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.3063, allocations: 0.5464 MB / 0.9713 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.3106, allocations: 1.984 MB / 0.9733 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.3131, allocations: 0.8277 MB / 0.9741 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3231, allocations: 7.637 MB / 0.9815 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.3232, allocations: 3.938 kB / 0.9815 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3232, allocations: 0 / 0.9815 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003942/0.3236, allocations: 0 / 0.9815 GB, free: 12.35 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.0098/0.3334, allocations: 3.436 MB / 0.9849 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3335, allocations: 12.03 kB / 0.9849 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00222/0.3357, allocations: 0.6481 MB / 0.9855 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.3407, allocations: 0.9356 MB / 0.9864 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005816/0.3465, allocations: 2.159 MB / 0.9885 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004797/0.347, allocations: 328.6 kB / 0.9889 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.3492, allocations: 424 kB / 0.9893 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.3689, allocations: 7.33 MB / 0.9964 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002008/0.3691, allocations: 15.88 kB / 0.9964 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.3704, allocations: 188 kB / 0.9966 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.3708, allocations: 286.9 kB / 0.9969 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.383, allocations: 5.932 MB / 1.003 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.4279, allocations: 32.61 MB / 1.035 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.4313, allocations: 2.119 MB / 1.037 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.433, allocations: 1.228 MB / 1.038 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.4331, allocations: 102.1 kB / 1.038 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4332, allocations: 47.56 kB / 1.038 GB, free: 15.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 2.955e-06/0.4332, allocations: 3.938 kB / 1.038 GB, free: 15.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.008325/0.4415, allocations: 5.223 MB / 1.043 GB, free: 9.996 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.4417, allocations: 146 kB / 1.043 GB, free: 9.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.4437, allocations: 1.441 MB / 1.045 GB, free: 8.371 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.4439, allocations: 45.7 kB / 1.045 GB, free: 8.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.4451, allocations: 1.863 MB / 1.046 GB, free: 6.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.4456, allocations: 378.8 kB / 1.047 GB, free: 6.055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4457, allocations: 40 kB / 1.047 GB, free: 6.016 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4459, allocations: 394 kB / 1.047 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4475, allocations: 1.097 MB / 1.048 GB, free: 4.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.4501, allocations: 2.172 MB / 1.05 GB, free: 1.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.4522, allocations: 1.529 MB / 1.052 GB, free: 304 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.4523, allocations: 15.89 kB / 1.052 GB, free: 288 kB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.4494/0.9017, allocations: 3.292 MB / 1.055 GB, free: 137.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006697/0.9024, allocations: 1.079 MB / 1.056 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-05/0.9025, allocations: 37.92 kB / 1.056 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.53e-05/0.9026, allocations: 56.75 kB / 1.056 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.9061, allocations: 0.6176 MB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.846e-05/0.9062, allocations: 69.03 kB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/0.9095, allocations: 315.2 kB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.9099, allocations: 109.6 kB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9099, allocations: 3.031 kB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006678/0.9166, allocations: 2.735 MB / 1.06 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/0.9169, allocations: 39.45 kB / 1.06 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.917, allocations: 52.11 kB / 1.06 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.9193, allocations: 0.5528 MB / 1.061 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.04e-05/0.9194, allocations: 70.19 kB / 1.061 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9213, allocations: 223 kB / 1.061 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.9215, allocations: 112.4 kB / 1.061 GB, free: 135.5 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.003518/0.925, allocations: 1.711 MB / 1.063 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.9255, allocations: 156.4 kB / 1.063 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.9294, allocations: 2.23 MB / 1.065 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.9295, allocations: 11.06 kB / 1.065 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.9295, allocations: 2.203 kB / 1.065 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.9295, allocations: 9.312 kB / 1.065 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.9463, allocations: 10.97 MB / 1.076 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.9463, allocations: 11.69 kB / 1.076 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9479, allocations: 390.6 kB / 1.076 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.944e-05/0.9479, allocations: 19.62 kB / 1.076 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.9481, allocations: 32.08 kB / 1.076 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.9481, allocations: 23.73 kB / 1.076 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.9481, allocations: 15.81 kB / 1.076 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.9511, allocations: 2.756 MB / 1.079 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/0.9519, allocations: 474 kB / 1.079 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.9522, allocations: 35.44 kB / 1.079 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9532, allocations: 167.2 kB / 1.08 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.9534, allocations: 106.5 kB / 1.08 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.9535, allocations: 40.31 kB / 1.08 GB, free: 131 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00143/0.955, allocations: 0.9625 MB / 1.081 GB, free: 130.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.955, allocations: 0 / 1.081 GB, free: 130.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005288/0.9603, allocations: 1.125 MB / 1.082 GB, free: 130.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 (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.00312/0.9634, allocations: 3.344 MB / 1.085 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005468/0.9689, allocations: 3.959 MB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.969, allocations: 3.875 kB / 1.089 GB, free: 126.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.9705, allocations: 1.054 MB / 1.09 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.9731, allocations: 411.2 kB / 1.09 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/0.9966, allocations: 16.75 MB / 1.107 GB, free: 108 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.999, allocations: 2.868 MB / 1.109 GB, free: 105.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003021/1.002, allocations: 1.198 MB / 1.111 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.004, allocations: 1.283 MB / 1.112 GB, free: 102.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.004, allocations: 0 / 1.112 GB, free: 102.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/1.062, allocations: 45.95 MB / 1.157 GB, free: 57.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.062, allocations: 215.2 kB / 1.157 GB, free: 56.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/4.024, allocations: 3.938 kB / 1.157 GB, free: 56.9 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)