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.511/2.511, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001507/0.001507, allocations: 196.8 kB / 360.6 MB, free: 7.277 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.056/2.056, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.00107/0.00107, allocations: 92.88 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.405e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8342, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/1.09, allocations: 153.5 MB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/1.091, allocations: 91.94 kB / 1.113 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1207/1.212, allocations: 29.63 MB / 1.142 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/1.212, allocations: 2.719 kB / 1.142 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.625e-05/1.212, allocations: 23.98 kB / 1.142 GB, free: 5.082 MB / 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.00181/1.214, allocations: 0.7751 MB / 1.143 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/1.214, allocations: 8.031 kB / 1.143 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/1.216, allocations: 210.8 kB / 1.143 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/1.217, allocations: 0.4906 MB / 1.144 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.217, allocations: 16 kB / 1.144 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.218, allocations: 31.94 kB / 1.144 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/1.219, allocations: 414.5 kB / 1.144 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/1.22, allocations: 0.8539 MB / 1.145 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/1.22, allocations: 3.938 kB / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/1.22, allocations: 8 kB / 1.145 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/1.221, allocations: 52.75 kB / 1.145 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/1.229, allocations: 5.551 MB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.23, allocations: 430.4 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/1.231, allocations: 217.3 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/1.231, allocations: 4 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.231, allocations: 39.09 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.895e-06/1.231, allocations: 0 / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002512/1.234, allocations: 0.8011 MB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.234, allocations: 59.36 kB / 1.152 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/1.234, allocations: 362 kB / 1.152 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.234, allocations: 25.7 kB / 1.152 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/1.235, allocations: 347.5 kB / 1.153 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.235, allocations: 114.4 kB / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/1.235, allocations: 0 / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.235, allocations: 358.8 kB / 1.153 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/1.236, allocations: 173.1 kB / 1.153 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/1.236, allocations: 388.7 kB / 1.154 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/1.237, allocations: 240.5 kB / 1.154 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.237, allocations: 4 kB / 1.154 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002084/1.239, allocations: 0.6963 MB / 1.155 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.239, allocations: 8.625 kB / 1.155 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.239, allocations: 8 kB / 1.155 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007973/1.24, allocations: 156.4 kB / 1.155 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/1.241, allocations: 115.2 kB / 1.155 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/1.245, allocations: 3.879 MB / 1.159 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/1.246, allocations: 19.97 kB / 1.159 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/1.246, allocations: 28.14 kB / 1.159 GB, free: 3.074 MB / 0.7605 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.0002112/1.246, allocations: 140.5 kB / 1.159 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001596/1.248, allocations: 0.5126 MB / 1.159 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.248, allocations: 59.33 kB / 1.159 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.25, allocations: 0.5659 MB / 1.16 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.25, allocations: 7.812 kB / 1.16 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.25, allocations: 0 / 1.16 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.25, allocations: 3.984 kB / 1.16 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/1.253, allocations: 1.143 MB / 1.161 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.253, allocations: 0 / 1.161 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/1.254, allocations: 59.89 kB / 1.161 GB, free: 468 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/1.254, allocations: 136.4 kB / 1.161 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/1.254, allocations: 0 / 1.161 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006158/1.261, allocations: 3.876 MB / 1.165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.261, allocations: 4 kB / 1.165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/1.264, allocations: 0.7507 MB / 1.166 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/1.264, allocations: 160.4 kB / 1.166 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/1.264, allocations: 4 kB / 1.166 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/1.265, allocations: 19.97 kB / 1.166 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.265, allocations: 39.83 kB / 1.166 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/1.265, allocations: 16 kB / 1.166 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000447/1.265, allocations: 267 kB / 1.166 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.61e-07/1.265, allocations: 0 / 1.166 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009614/1.266, allocations: 128 kB / 1.166 GB, free: 10.6 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.002399/1.269, allocations: 1.769 MB / 1.168 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002111/1.271, allocations: 0.968 MB / 1.169 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.271, allocations: 0 / 1.169 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.272, allocations: 0.7081 MB / 1.17 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.274, allocations: 169.8 kB / 1.17 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/1.276, allocations: 0.8372 MB / 1.171 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/1.277, allocations: 0.9255 MB / 1.172 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006422/1.278, allocations: 116.6 kB / 1.172 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.278, allocations: 195.4 kB / 1.172 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of SimCode: time 1.232e-06/1.278, allocations: 0 / 1.172 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07273/1.351, allocations: 10.74 MB / 1.182 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/1.351, allocations: 161.2 kB / 1.183 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/4.123, allocations: 0 / 1.183 GB, free: 9.91 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)