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.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,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.001091/0.001091, allocations: 184.9 kB / 372.2 MB, free: 10.09 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.637/1.637, allocations: 205.4 MB / 0.631 GB, free: 9.746 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.0009125/0.0009128, allocations: 100.8 kB / 0.7444 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004869, allocations: 16.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.207, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02898/0.236, allocations: 33.94 MB / 1.013 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.256, allocations: 12.87 MB / 1.026 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/0.2597, allocations: 95.62 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2612, allocations: 0.5778 MB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.2644, allocations: 1.206 MB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.269, allocations: 1.565 MB / 1.029 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008675/0.2777, allocations: 7.38 MB / 1.036 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01631/0.294, allocations: 11.8 MB / 1.048 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.2985, allocations: 1.872 MB / 1.05 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005701/0.3043, allocations: 2.644 MB / 1.052 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006342/0.3049, allocations: 252 kB / 1.053 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.3074, allocations: 1.018 MB / 1.054 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.3095, allocations: 1.988 MB / 1.056 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.3116, allocations: 1.939 MB / 1.057 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006467/0.3181, allocations: 7.66 MB / 1.065 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3181, allocations: 4 kB / 1.065 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3181, allocations: 0 / 1.065 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002177/0.3184, allocations: 0 / 1.065 GB, free: 4.082 MB / 0.6823 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.00689/0.3253, allocations: 3.401 MB / 1.068 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3253, allocations: 12.03 kB / 1.068 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5025/0.8279, allocations: 0.6325 MB / 1.069 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005479/0.8334, allocations: 0.9473 MB / 1.07 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/0.8388, allocations: 2.185 MB / 1.072 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.8391, allocations: 329.2 kB / 1.072 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.8402, allocations: 422.2 kB / 1.073 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.8594, allocations: 7.33 MB / 1.08 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.8595, allocations: 16.8 kB / 1.08 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005411/0.8601, allocations: 181.1 kB / 1.08 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005019/0.8606, allocations: 292.9 kB / 1.08 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.8761, allocations: 5.93 MB / 1.086 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04564/0.9218, allocations: 32.64 MB / 1.118 GB, free: 51.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.9255, allocations: 2.115 MB / 1.12 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.9274, allocations: 1.232 MB / 1.121 GB, free: 49.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.9276, allocations: 102 kB / 1.121 GB, free: 49.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.9277, allocations: 52.19 kB / 1.121 GB, free: 49.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 4.389e-06/0.9277, allocations: 1 kB / 1.121 GB, free: 49.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.01055/0.9382, allocations: 5.221 MB / 1.126 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.9384, allocations: 155.8 kB / 1.127 GB, free: 45.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.9412, allocations: 1.435 MB / 1.128 GB, free: 44.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.9414, allocations: 47.58 kB / 1.128 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.9425, allocations: 1.855 MB / 1.13 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.943, allocations: 388.4 kB / 1.13 GB, free: 42.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.9432, allocations: 40.19 kB / 1.13 GB, free: 42.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.9433, allocations: 393.2 kB / 1.131 GB, free: 42.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.9452, allocations: 1.102 MB / 1.132 GB, free: 41.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.9477, allocations: 2.177 MB / 1.134 GB, free: 39.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.952, allocations: 3.382 MB / 1.137 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-05/0.9521, allocations: 11.91 kB / 1.137 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005311/0.9574, allocations: 3.299 MB / 1.14 GB, free: 35.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005836/0.958, allocations: 1.079 MB / 1.141 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/0.9581, allocations: 40 kB / 1.142 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.9582, allocations: 44 kB / 1.142 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.9602, allocations: 0.62 MB / 1.142 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.363e-05/0.9603, allocations: 75.66 kB / 1.142 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9625, allocations: 306.7 kB / 1.143 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.9627, allocations: 116 kB / 1.143 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.9627, allocations: 4 kB / 1.143 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003488/0.9662, allocations: 2.742 MB / 1.145 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.9663, allocations: 32 kB / 1.145 GB, free: 29.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.219e-05/0.9664, allocations: 48 kB / 1.145 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.968, allocations: 0.5498 MB / 1.146 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.873e-05/0.968, allocations: 71.72 kB / 1.146 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.9697, allocations: 223.1 kB / 1.146 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.97, allocations: 112 kB / 1.146 GB, free: 28.63 MB / 0.6823 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.002906/0.9729, allocations: 1.714 MB / 1.148 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/0.9734, allocations: 158.1 kB / 1.148 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.9764, allocations: 2.223 MB / 1.15 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.9764, allocations: 8 kB / 1.15 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.9764, allocations: 8 kB / 1.15 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.9764, allocations: 7.922 kB / 1.15 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.9911, allocations: 10.97 MB / 1.161 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/0.9912, allocations: 12.25 kB / 1.161 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.9926, allocations: 391.5 kB / 1.161 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.9927, allocations: 19.94 kB / 1.161 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.9928, allocations: 31.98 kB / 1.161 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/0.9928, allocations: 27.86 kB / 1.162 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.9928, allocations: 15.94 kB / 1.162 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.9958, allocations: 2.759 MB / 1.164 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/0.9967, allocations: 470.7 kB / 1.165 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.9972, allocations: 31.98 kB / 1.165 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9985, allocations: 175.3 kB / 1.165 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.9988, allocations: 96.22 kB / 1.165 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.9989, allocations: 40 kB / 1.165 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001393/1, allocations: 0.9586 MB / 1.166 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/1, allocations: 0 / 1.166 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005313/1.006, allocations: 1.127 MB / 1.167 GB, free: 6.988 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 (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.003171/1.009, allocations: 3.348 MB / 1.17 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004981/1.014, allocations: 3.961 MB / 1.174 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.014, allocations: 3.938 kB / 1.174 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.015, allocations: 1.052 MB / 1.175 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/1.019, allocations: 399.5 kB / 1.176 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/1.05, allocations: 16.76 MB / 1.192 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004383/1.054, allocations: 2.872 MB / 1.195 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003474/1.058, allocations: 1.2 MB / 1.196 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.06, allocations: 1.28 MB / 1.197 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/1.06, allocations: 4 kB / 1.197 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7393/1.799, allocations: 46.1 MB / 1.242 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/1.799, allocations: 214.8 kB / 1.242 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/4.762, allocations: 0 / 1.242 GB, free: 9.043 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)