Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 184.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 90.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.201e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7779/1.005, allocations: 157.2 MB / 1.045 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.005, allocations: 93.81 kB / 1.046 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.09124/1.096, allocations: 36.91 MB / 1.082 GB, free: 12.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/1.096, allocations: 4 kB / 1.082 GB, free: 12.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.561e-05/1.097, allocations: 27.98 kB / 1.082 GB, free: 12.02 MB / 0.698 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.001717/1.098, allocations: 0.9577 MB / 1.083 GB, free: 11.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.098, allocations: 8.031 kB / 1.083 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/1.098, allocations: 116.6 kB / 1.083 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/1.1, allocations: 245.4 kB / 1.083 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/1.101, allocations: 0.5398 MB / 1.083 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/1.101, allocations: 53.92 kB / 1.083 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.101, allocations: 61.69 kB / 1.084 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.103, allocations: 1.117 MB / 1.085 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.103, allocations: 11.84 kB / 1.085 GB, free: 9.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/1.103, allocations: 38.23 kB / 1.085 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.461e-05/1.103, allocations: 52.41 kB / 1.085 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.104, allocations: 0.7352 MB / 1.085 GB, free: 8.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/1.11, allocations: 5.909 MB / 1.091 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/1.111, allocations: 0.5498 MB / 1.092 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/1.111, allocations: 326.1 kB / 1.092 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/1.111, allocations: 4.438 kB / 1.092 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.111, allocations: 39 kB / 1.092 GB, free: 1.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/1.111, allocations: 0 / 1.092 GB, free: 1.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00232/1.113, allocations: 1.237 MB / 1.093 GB, free: 136 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.113, allocations: 55.84 kB / 1.093 GB, free: 68 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/1.114, allocations: 495.5 kB / 1.094 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/1.114, allocations: 33.7 kB / 1.094 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/1.114, allocations: 399.2 kB / 1.094 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.115, allocations: 177.6 kB / 1.094 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.115, allocations: 8 kB / 1.094 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.115, allocations: 374.8 kB / 1.095 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/1.115, allocations: 261.5 kB / 1.095 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/1.116, allocations: 460.1 kB / 1.095 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/1.116, allocations: 335.1 kB / 1.096 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.116, allocations: 0 / 1.096 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001744/1.118, allocations: 1.044 MB / 1.097 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.118, allocations: 8 kB / 1.097 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.118, allocations: 12 kB / 1.097 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008756/1.119, allocations: 287.1 kB / 1.097 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/1.119, allocations: 123.7 kB / 1.097 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/1.126, allocations: 6.588 MB / 1.104 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/1.127, allocations: 35.95 kB / 1.104 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/1.127, allocations: 24 kB / 1.104 GB, free: 4.801 MB / 0.7136 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.0002016/1.127, allocations: 148.9 kB / 1.104 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.127, allocations: 67.25 kB / 1.104 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.129, allocations: 0.8806 MB / 1.105 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.129, allocations: 4 kB / 1.105 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.129, allocations: 8 kB / 1.105 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.129, allocations: 0 / 1.105 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/1.131, allocations: 1.709 MB / 1.106 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.131, allocations: 7.953 kB / 1.106 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.132, allocations: 55.95 kB / 1.107 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007206/1.132, allocations: 275.3 kB / 1.107 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.132, allocations: 8 kB / 1.107 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/1.138, allocations: 6.557 MB / 1.113 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.138, allocations: 7.969 kB / 1.113 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.14, allocations: 1.04 MB / 1.114 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/1.141, allocations: 196.1 kB / 1.114 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/1.141, allocations: 12 kB / 1.114 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.141, allocations: 35.91 kB / 1.114 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.141, allocations: 39.89 kB / 1.114 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/1.141, allocations: 19.94 kB / 1.115 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004619/1.142, allocations: 383.2 kB / 1.115 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/1.142, allocations: 0 / 1.115 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008456/1.143, allocations: 236 kB / 1.115 GB, free: 8.371 MB / 0.7292 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.001988/1.145, allocations: 2.015 MB / 1.117 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.147, allocations: 1.24 MB / 1.118 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.147, allocations: 0 / 1.118 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.148, allocations: 0.8775 MB / 1.119 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/1.149, allocations: 202.8 kB / 1.119 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/1.151, allocations: 1.148 MB / 1.12 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/1.152, allocations: 1.032 MB / 1.121 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004186/1.152, allocations: 121.9 kB / 1.122 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.152, allocations: 255.3 kB / 1.122 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/1.152, allocations: 0 / 1.122 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/1.189, allocations: 16.34 MB / 1.138 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.189, allocations: 201.8 kB / 1.138 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.58, allocations: 0 / 1.138 GB, free: 0.9102 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)