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.472/1.472, allocations: 251.9 MB / 266.8 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.001165/0.001165, allocations: 188.8 kB / 326.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, 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.001009/0.001009, allocations: 90.38 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004363, allocations: 17.39 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2684, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7598/1.028, allocations: 174.8 MB / 1.071 GB, free: 63.81 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.029, allocations: 104.2 kB / 1.071 GB, free: 63.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3459/1.375, allocations: 160.4 MB / 1.228 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.655e-06/1.375, allocations: 4 kB / 1.228 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002954/1.375, allocations: 103.9 kB / 1.228 GB, free: 500 kB / 0.7136 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.01248/1.387, allocations: 3.486 MB / 1.231 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.388, allocations: 8.031 kB / 1.231 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004085/1.392, allocations: 0.6402 MB / 1.232 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007459/1.399, allocations: 0.9627 MB / 1.233 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008253/1.407, allocations: 2.295 MB / 1.235 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/1.408, allocations: 324.6 kB / 1.235 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.41, allocations: 432 kB / 1.236 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/1.431, allocations: 6.683 MB / 1.242 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/1.432, allocations: 11.94 kB / 1.242 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/1.433, allocations: 184 kB / 1.242 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/1.434, allocations: 251 kB / 1.243 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.446, allocations: 5.332 MB / 1.248 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04766/1.494, allocations: 32.48 MB / 1.279 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/1.497, allocations: 1.878 MB / 1.281 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.497, allocations: 97.81 kB / 1.281 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.497, allocations: 47.2 kB / 1.281 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=86): time 5.079e-06/1.497, allocations: 4 kB / 1.281 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of matching and sorting (n=89): time 0.007148/1.504, allocations: 4.763 MB / 1.286 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/1.505, allocations: 145.1 kB / 1.286 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.507, allocations: 1.463 MB / 1.288 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.507, allocations: 41.7 kB / 1.288 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.508, allocations: 1.905 MB / 1.29 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.508, allocations: 335.4 kB / 1.29 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.508, allocations: 40 kB / 1.29 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.509, allocations: 398 kB / 1.29 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.51, allocations: 1.093 MB / 1.291 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.512, allocations: 2.157 MB / 1.293 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.515, allocations: 1.515 MB / 1.295 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.515, allocations: 12 kB / 1.295 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004977/1.52, allocations: 3.285 MB / 1.298 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.005455/1.525, allocations: 13.42 MB / 1.311 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/1.525, allocations: 32 kB / 1.311 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.219e-05/1.525, allocations: 52 kB / 1.311 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.528, allocations: 0.6239 MB / 1.312 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.067e-05/1.528, allocations: 71.72 kB / 1.312 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/1.531, allocations: 370.7 kB / 1.312 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/1.532, allocations: 112 kB / 1.313 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.532, allocations: 4 kB / 1.313 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004563/1.536, allocations: 2.73 MB / 1.315 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/1.536, allocations: 32 kB / 1.315 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/1.536, allocations: 55.94 kB / 1.315 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.538, allocations: 0.5538 MB / 1.316 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.814e-05/1.538, allocations: 67.78 kB / 1.316 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/1.54, allocations: 259.2 kB / 1.316 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.54, allocations: 108 kB / 1.316 GB, free: 0.7969 MB / 0.8073 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.003859/1.544, allocations: 1.706 MB / 1.318 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/1.545, allocations: 158.1 kB / 1.318 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/1.547, allocations: 1.898 MB / 1.32 GB, free: 13.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.547, allocations: 8 kB / 1.32 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.547, allocations: 0 / 1.32 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.548, allocations: 19.92 kB / 1.32 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.562, allocations: 8.754 MB / 1.328 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.562, allocations: 9 kB / 1.328 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.563, allocations: 339.4 kB / 1.329 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/1.563, allocations: 16 kB / 1.329 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/1.563, allocations: 20 kB / 1.329 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-05/1.563, allocations: 19.92 kB / 1.329 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.563, allocations: 15.94 kB / 1.329 GB, free: 3.605 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/1.567, allocations: 2.894 MB / 1.332 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.568, allocations: 458.8 kB / 1.332 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.568, allocations: 28 kB / 1.332 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.569, allocations: 167.7 kB / 1.332 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.569, allocations: 80.27 kB / 1.332 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/1.569, allocations: 40 kB / 1.332 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001878/1.571, allocations: 1.085 MB / 1.333 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.6e-07/1.571, allocations: 0 / 1.333 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005431/1.577, allocations: 1.23 MB / 1.335 GB, free: 13.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 92 * 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.005248/1.582, allocations: 5.927 MB / 1.34 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007235/1.589, allocations: 3.786 MB / 1.344 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.589, allocations: 4 kB / 1.344 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.591, allocations: 0.8877 MB / 1.345 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.593, allocations: 385.6 kB / 1.345 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/1.634, allocations: 39.4 MB / 1.384 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/1.639, allocations: 2.939 MB / 1.387 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003596/1.643, allocations: 1.2 MB / 1.388 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/1.645, allocations: 1.284 MB / 1.389 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/1.645, allocations: 0 / 1.389 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5181/2.163, allocations: 45.18 MB / 1.433 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.163, allocations: 203.5 kB / 1.434 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/4.994, allocations: 4 kB / 1.434 GB, free: 236.7 MB / 0.8855 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)