Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.0013/0.0013, allocations: 191.4 kB / 377.1 MB, free: 1.543 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.813/1.813, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0009459/0.0009463, allocations: 92.05 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004959, allocations: 8 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3328, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7377/1.071, allocations: 164.6 MB / 1.149 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.071, allocations: 98.09 kB / 1.149 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08711/1.158, allocations: 37.13 MB / 1.186 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.286e-06/1.158, allocations: 3.938 kB / 1.186 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.058e-05/1.158, allocations: 23.94 kB / 1.186 GB, free: 12.46 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.001778/1.16, allocations: 1.042 MB / 1.187 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.16, allocations: 15.95 kB / 1.187 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/1.16, allocations: 124.7 kB / 1.187 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.162, allocations: 242.6 kB / 1.187 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/1.163, allocations: 0.5427 MB / 1.187 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/1.163, allocations: 49.98 kB / 1.187 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.163, allocations: 67.98 kB / 1.188 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.164, allocations: 1.132 MB / 1.189 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/1.164, allocations: 3.938 kB / 1.189 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/1.164, allocations: 35.98 kB / 1.189 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.259e-05/1.164, allocations: 61.28 kB / 1.189 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.166, allocations: 0.7426 MB / 1.189 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/1.171, allocations: 5.912 MB / 1.195 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.173, allocations: 0.5516 MB / 1.196 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/1.173, allocations: 8.438 kB / 1.196 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.173, allocations: 35 kB / 1.196 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/1.173, allocations: 0 / 1.196 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.003996/1.177, allocations: 1.984 MB / 1.198 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.177, allocations: 55.84 kB / 1.198 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/1.177, allocations: 0.4954 MB / 1.198 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/1.177, allocations: 29.7 kB / 1.198 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.178, allocations: 419.1 kB / 1.199 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.178, allocations: 165.6 kB / 1.199 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/1.178, allocations: 12 kB / 1.199 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.178, allocations: 382.7 kB / 1.199 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/1.178, allocations: 265.2 kB / 1.2 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/1.179, allocations: 458.8 kB / 1.2 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/1.179, allocations: 342 kB / 1.2 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.179, allocations: 4 kB / 1.2 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001821/1.181, allocations: 1.059 MB / 1.201 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.181, allocations: 8.938 kB / 1.201 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.181, allocations: 4 kB / 1.201 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009014/1.182, allocations: 283.9 kB / 1.202 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/1.183, allocations: 115.8 kB / 1.202 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/1.189, allocations: 6.705 MB / 1.208 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/1.19, allocations: 38.03 kB / 1.208 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/1.19, allocations: 28 kB / 1.208 GB, free: 3.652 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 () * Number of clocked 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.0004376/1.19, allocations: 247.3 kB / 1.209 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/1.19, allocations: 75.14 kB / 1.209 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/1.192, allocations: 0.8887 MB / 1.21 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.192, allocations: 8 kB / 1.21 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.192, allocations: 7.984 kB / 1.21 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.192, allocations: 0 / 1.21 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/1.194, allocations: 1.718 MB / 1.211 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.194, allocations: 4 kB / 1.211 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.195, allocations: 55.89 kB / 1.211 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/1.195, allocations: 272.2 kB / 1.212 GB, free: 268 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.196, allocations: 8 kB / 1.212 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/1.202, allocations: 6.685 MB / 1.218 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.202, allocations: 3.938 kB / 1.218 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.203, allocations: 1.052 MB / 1.219 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/1.204, allocations: 196.2 kB / 1.219 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/1.204, allocations: 12 kB / 1.219 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/1.204, allocations: 27.97 kB / 1.219 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.204, allocations: 51.83 kB / 1.219 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/1.204, allocations: 17.31 kB / 1.219 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000431/1.205, allocations: 383.1 kB / 1.22 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.9e-07/1.205, allocations: 0 / 1.22 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007719/1.205, allocations: 231.9 kB / 1.22 GB, free: 6.992 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 () * Number of clocked 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.001915/1.207, allocations: 2.037 MB / 1.222 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.209, allocations: 1.257 MB / 1.223 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.209, allocations: 4 kB / 1.223 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.211, allocations: 0.8893 MB / 1.224 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/1.212, allocations: 190.4 kB / 1.224 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/1.22, allocations: 8.317 MB / 1.232 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/1.221, allocations: 1.024 MB / 1.233 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004764/1.221, allocations: 119.7 kB / 1.233 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/1.221, allocations: 259.3 kB / 1.234 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of SimCode: time 9.91e-07/1.221, allocations: 0 / 1.234 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/1.256, allocations: 16.37 MB / 1.25 GB, free: 8.414 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.257, allocations: 213.8 kB / 1.25 GB, free: 8.176 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.78, allocations: 4 kB / 1.25 GB, free: 8.172 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)