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_N.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_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 252 MB / 267 MB, free: 10.95 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.0011/0.0011, allocations: 188.4 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.837/1.837, allocations: 205.4 MB / 0.5777 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.0007929/0.0007928, allocations: 100.3 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 10.34 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01562/0.2239, allocations: 18.53 MB / 0.9184 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.234, allocations: 7.178 MB / 0.9254 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.2363, allocations: 51.81 kB / 0.9255 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2374, allocations: 357.3 kB / 0.9258 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.2399, allocations: 0.7546 MB / 0.9265 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.2427, allocations: 1.01 MB / 0.9275 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003928/0.2467, allocations: 4.938 MB / 0.9324 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007691/0.2544, allocations: 6.557 MB / 0.9388 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.2567, allocations: 1.277 MB / 0.94 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.2596, allocations: 1.826 MB / 0.9418 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.2604, allocations: 176 kB / 0.942 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.262, allocations: 423.6 kB / 0.9424 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.2635, allocations: 1.337 MB / 0.9437 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009408/0.2644, allocations: 0.555 MB / 0.9442 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.2685, allocations: 5.135 MB / 0.9492 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2685, allocations: 0 / 0.9492 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2685, allocations: 4 kB / 0.9492 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001251/0.2686, allocations: 0 / 0.9492 GB, free: 13.48 MB / 0.6042 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.005839/0.2745, allocations: 2.462 MB / 0.9516 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.2746, allocations: 16.02 kB / 0.9516 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009624/0.2755, allocations: 445.8 kB / 0.9521 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/0.2784, allocations: 0.6835 MB / 0.9527 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.2808, allocations: 1.515 MB / 0.9542 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2809, allocations: 213.8 kB / 0.9544 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004252/0.2814, allocations: 303.8 kB / 0.9547 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00734/0.2887, allocations: 5.027 MB / 0.9596 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.792e-05/0.2888, allocations: 11.92 kB / 0.9596 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.2891, allocations: 124 kB / 0.9598 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.2893, allocations: 208.6 kB / 0.9599 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006778/0.2961, allocations: 4.165 MB / 0.964 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.3272, allocations: 23 MB / 0.9865 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.3304, allocations: 1.719 MB / 0.9882 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3322, allocations: 1.129 MB / 0.9893 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.3324, allocations: 109.6 kB / 0.9894 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3324, allocations: 43.22 kB / 0.9894 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.3324, allocations: 0 / 0.9894 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.007213/0.3397, allocations: 3.993 MB / 0.9933 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.3398, allocations: 141.4 kB / 0.9934 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3409, allocations: 0.8447 MB / 0.9943 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.3411, allocations: 41.7 kB / 0.9943 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007404/0.3418, allocations: 1.158 MB / 0.9954 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.3421, allocations: 307.6 kB / 0.9957 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.3422, allocations: 28 kB / 0.9958 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3424, allocations: 402.7 kB / 0.9961 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3436, allocations: 0.7989 MB / 0.9969 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.3451, allocations: 1.283 MB / 0.9982 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3466, allocations: 1.002 MB / 0.9992 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/0.3466, allocations: 7.953 kB / 0.9992 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00332/0.35, allocations: 2.171 MB / 1.001 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004038/0.3504, allocations: 0.4914 MB / 1.002 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.3504, allocations: 12 kB / 1.002 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.273e-05/0.3505, allocations: 28 kB / 1.002 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.3521, allocations: 411.2 kB / 1.002 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.108e-05/0.3522, allocations: 27.92 kB / 1.002 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.3537, allocations: 199.4 kB / 1.002 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.3538, allocations: 63.98 kB / 1.002 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3539, allocations: 4 kB / 1.002 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002915/0.3568, allocations: 1.765 MB / 1.004 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.3568, allocations: 24.19 kB / 1.004 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.3569, allocations: 24 kB / 1.004 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3582, allocations: 355.4 kB / 1.005 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/0.3582, allocations: 31.88 kB / 1.005 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3592, allocations: 147.4 kB / 1.005 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.3594, allocations: 67.98 kB / 1.005 GB, free: 1.453 MB / 0.6511 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.001936/0.3613, allocations: 1.172 MB / 1.006 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.3617, allocations: 98.78 kB / 1.006 GB, free: 176 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.3648, allocations: 1.85 MB / 1.008 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3649, allocations: 8 kB / 1.008 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3649, allocations: 4 kB / 1.008 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.3649, allocations: 3.984 kB / 1.008 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.3808, allocations: 9.584 MB / 1.017 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.3809, allocations: 12.22 kB / 1.017 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.3823, allocations: 319.4 kB / 1.018 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-05/0.3824, allocations: 20 kB / 1.018 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.3825, allocations: 28.09 kB / 1.018 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.3825, allocations: 23.88 kB / 1.018 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/0.3825, allocations: 23.86 kB / 1.018 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.3858, allocations: 2.394 MB / 1.02 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/0.3866, allocations: 391.5 kB / 1.02 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.3869, allocations: 35.95 kB / 1.02 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.3881, allocations: 139.8 kB / 1.021 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3883, allocations: 91.64 kB / 1.021 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.78e-05/0.3883, allocations: 32 kB / 1.021 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008841/0.3892, allocations: 0.581 MB / 1.021 GB, free: 220 kB / 0.6667 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3893, allocations: 0 / 1.021 GB, free: 220 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003259/0.3925, allocations: 0.75 MB / 1.022 GB, free: 15.46 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.003826/0.3964, allocations: 2.997 MB / 1.025 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00419/0.4006, allocations: 2.822 MB / 1.028 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.4006, allocations: 5.375 kB / 1.028 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.4019, allocations: 0.9193 MB / 1.029 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4039, allocations: 276.6 kB / 1.029 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/0.4244, allocations: 11.46 MB / 1.04 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.4274, allocations: 2.131 MB / 1.042 GB, free: 10.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002336/0.4298, allocations: 0.7344 MB / 1.043 GB, free: 9.391 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.4313, allocations: 0.8312 MB / 1.044 GB, free: 8.559 MB / 0.698 GB Notification: Performance of SimCode: time 1.753e-06/0.4313, allocations: 4 kB / 1.044 GB, free: 8.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4495/0.8809, allocations: 31.11 MB / 1.074 GB, free: 134.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.8812, allocations: 220.8 kB / 1.074 GB, free: 134.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.421, allocations: 1.312 kB / 1.074 GB, free: 134.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)