Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.532/2.532, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.0015/0.0015, allocations: 184.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.135/2.135, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001027/0.001026, allocations: 88 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.465e-05, allocations: 0 / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.9381, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/1.262, allocations: 159.2 MB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.263, allocations: 99.95 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1934/1.456, allocations: 36.37 MB / 1.154 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.134e-06/1.456, allocations: 0 / 1.154 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.192e-05/1.456, allocations: 23.94 kB / 1.154 GB, free: 8.504 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002979/1.459, allocations: 0.955 MB / 1.155 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.459, allocations: 16.02 kB / 1.155 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/1.462, allocations: 235.9 kB / 1.156 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/1.464, allocations: 0.5337 MB / 1.156 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/1.464, allocations: 20 kB / 1.156 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/1.464, allocations: 44 kB / 1.156 GB, free: 6.613 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/1.466, allocations: 0.5974 MB / 1.157 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/1.468, allocations: 1.02 MB / 1.158 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/1.468, allocations: 11.88 kB / 1.158 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.468, allocations: 4.562 kB / 1.158 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.469, allocations: 53.28 kB / 1.158 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009265/1.478, allocations: 5.759 MB / 1.164 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.479, allocations: 0.5195 MB / 1.164 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/1.48, allocations: 311.8 kB / 1.164 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/1.48, allocations: 4.438 kB / 1.164 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.48, allocations: 43.5 kB / 1.164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.539e-06/1.48, allocations: 0 / 1.164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.003774/1.484, allocations: 1.163 MB / 1.166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.484, allocations: 59.84 kB / 1.166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/1.485, allocations: 394 kB / 1.166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/1.485, allocations: 29.7 kB / 1.166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/1.486, allocations: 414 kB / 1.166 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.486, allocations: 161.5 kB / 1.167 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/1.486, allocations: 0 / 1.167 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002539/1.486, allocations: 370.8 kB / 1.167 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/1.487, allocations: 249.5 kB / 1.167 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/1.488, allocations: 442.5 kB / 1.168 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/1.489, allocations: 314 kB / 1.168 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.489, allocations: 4 kB / 1.168 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003047/1.492, allocations: 0.9667 MB / 1.169 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/1.492, allocations: 8 kB / 1.169 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.492, allocations: 8 kB / 1.169 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/1.493, allocations: 270.6 kB / 1.169 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/1.494, allocations: 119.8 kB / 1.169 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009782/1.504, allocations: 6.328 MB / 1.175 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.505, allocations: 23.95 kB / 1.175 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.505, allocations: 32 kB / 1.175 GB, free: 1.809 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002537/1.506, allocations: 123.2 kB / 1.176 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002539/1.508, allocations: 0.7834 MB / 1.176 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.508, allocations: 71.25 kB / 1.176 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.511, allocations: 0.8213 MB / 1.177 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.511, allocations: 4 kB / 1.177 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.511, allocations: 4 kB / 1.177 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.511, allocations: 3.984 kB / 1.177 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/1.516, allocations: 1.564 MB / 1.179 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.516, allocations: 4 kB / 1.179 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.516, allocations: 55.89 kB / 1.179 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/1.518, allocations: 263.4 kB / 1.179 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/1.518, allocations: 7.953 kB / 1.179 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.528, allocations: 6.306 MB / 1.185 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-05/1.528, allocations: 6.469 kB / 1.185 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/1.532, allocations: 0.9986 MB / 1.186 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/1.533, allocations: 184.3 kB / 1.186 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.533, allocations: 7.984 kB / 1.186 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.535, allocations: 15.97 kB / 1.186 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.535, allocations: 43.89 kB / 1.186 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/1.535, allocations: 12 kB / 1.186 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008814/1.536, allocations: 306.9 kB / 1.187 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.62e-07/1.536, allocations: 0 / 1.187 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002113/1.538, allocations: 207.9 kB / 1.187 GB, free: 5.355 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004843/1.543, allocations: 1.962 MB / 1.189 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00461/1.548, allocations: 1.173 MB / 1.19 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.548, allocations: 4 kB / 1.19 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.551, allocations: 0.8348 MB / 1.191 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.553, allocations: 164.5 kB / 1.191 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/1.559, allocations: 1.1 MB / 1.192 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.561, allocations: 1.024 MB / 1.193 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001227/1.562, allocations: 111.8 kB / 1.193 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/1.563, allocations: 247.4 kB / 1.193 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of SimCode: time 2.355e-06/1.563, allocations: 0 / 1.193 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/1.641, allocations: 14.51 MB / 1.208 GB, free: 284 kB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/1.641, allocations: 146.7 kB / 1.208 GB, free: 88 kB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/4.551, allocations: 0.7656 kB / 1.208 GB, free: 88 kB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)