Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 284.7 MB / 297.2 MB, free: 6.375 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.002148/0.002147, allocations: 172.9 kB / 365.6 MB, free: 2.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.1 MB / 0.624 GB, free: 8.254 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001052, allocations: 94 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.717e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8014, allocations: 115.3 MB / 0.97 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/1.142, allocations: 154.1 MB / 1.12 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004579/1.143, allocations: 88.55 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1755/1.318, allocations: 29.75 MB / 1.15 GB, free: 380 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.434e-06/1.318, allocations: 4 kB / 1.15 GB, free: 376 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.203e-05/1.319, allocations: 16 kB / 1.15 GB, free: 360 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002477/1.321, allocations: 0.7839 MB / 1.15 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/1.321, allocations: 16.02 kB / 1.15 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/1.321, allocations: 94.28 kB / 1.151 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/1.325, allocations: 202.9 kB / 1.151 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/1.326, allocations: 492.4 kB / 1.151 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/1.327, allocations: 34.69 kB / 1.151 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/1.327, allocations: 43.98 kB / 1.151 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/1.329, allocations: 0.9186 MB / 1.152 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/1.33, allocations: 15.8 kB / 1.152 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.33, allocations: 27.98 kB / 1.152 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/1.33, allocations: 52.75 kB / 1.152 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/1.332, allocations: 0.5453 MB / 1.153 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/1.342, allocations: 5.665 MB / 1.158 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.344, allocations: 449.8 kB / 1.159 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/1.345, allocations: 224.8 kB / 1.159 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/1.345, allocations: 4.531 kB / 1.159 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.345, allocations: 38.5 kB / 1.159 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 4.168e-06/1.345, allocations: 0 / 1.159 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.003446/1.348, allocations: 0.8476 MB / 1.16 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.348, allocations: 59.34 kB / 1.16 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.349, allocations: 436.8 kB / 1.16 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/1.349, allocations: 33.7 kB / 1.16 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/1.35, allocations: 347.1 kB / 1.161 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.35, allocations: 120.3 kB / 1.161 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/1.35, allocations: 16 kB / 1.161 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.35, allocations: 362.8 kB / 1.161 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/1.351, allocations: 189.1 kB / 1.161 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/1.352, allocations: 398.1 kB / 1.162 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/1.353, allocations: 255.7 kB / 1.162 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.353, allocations: 4 kB / 1.162 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002801/1.356, allocations: 0.7583 MB / 1.163 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.356, allocations: 11.95 kB / 1.163 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.356, allocations: 4 kB / 1.163 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.357, allocations: 156.8 kB / 1.163 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.358, allocations: 115.8 kB / 1.163 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/1.364, allocations: 4.038 MB / 1.167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.365, allocations: 31.97 kB / 1.167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/1.365, allocations: 24 kB / 1.167 GB, free: 13.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000254/1.365, allocations: 144.7 kB / 1.167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/1.366, allocations: 63.34 kB / 1.167 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/1.368, allocations: 0.5893 MB / 1.168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.368, allocations: 4 kB / 1.168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.368, allocations: 7.984 kB / 1.168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.368, allocations: 0 / 1.168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/1.372, allocations: 1.247 MB / 1.169 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.372, allocations: 4 kB / 1.169 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/1.373, allocations: 55.89 kB / 1.169 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/1.374, allocations: 144.4 kB / 1.169 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/1.374, allocations: 5.25 kB / 1.169 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006623/1.381, allocations: 4.025 MB / 1.173 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.381, allocations: 0 / 1.173 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.384, allocations: 0.7919 MB / 1.174 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/1.384, allocations: 172.3 kB / 1.174 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.384, allocations: 8 kB / 1.174 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/1.385, allocations: 23.97 kB / 1.174 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.385, allocations: 39.86 kB / 1.174 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/1.386, allocations: 12 kB / 1.174 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008992/1.386, allocations: 329.6 kB / 1.174 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.32e-07/1.386, allocations: 0 / 1.174 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001744/1.388, allocations: 145.8 kB / 1.175 GB, free: 4.902 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003679/1.392, allocations: 1.828 MB / 1.176 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003194/1.395, allocations: 1.001 MB / 1.177 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.395, allocations: 0 / 1.177 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.397, allocations: 0.7344 MB / 1.178 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.4, allocations: 179.1 kB / 1.178 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/1.403, allocations: 0.8817 MB / 1.179 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.405, allocations: 0.9219 MB / 1.18 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009741/1.406, allocations: 117.2 kB / 1.18 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/1.406, allocations: 199.4 kB / 1.18 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of SimCode: time 1.654e-06/1.406, allocations: 0 / 1.18 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/1.465, allocations: 12.11 MB / 1.192 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003504/1.465, allocations: 189.1 kB / 1.192 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.242, allocations: 3.938 kB / 1.192 GB, free: 2.789 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)