Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.77 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.001111/0.001111, allocations: 184.8 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.545/1.545, allocations: 205.1 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.0008304/0.0008303, allocations: 90.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.935e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1892, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6575/0.8467, allocations: 153.7 MB / 1.042 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/0.8472, allocations: 92.78 kB / 1.042 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.09091/0.9381, allocations: 36.54 MB / 1.078 GB, free: 15.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9381, allocations: 0 / 1.078 GB, free: 15.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.169e-05/0.9382, allocations: 27.98 kB / 1.078 GB, free: 15.65 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.001594/0.9398, allocations: 0.9511 MB / 1.079 GB, free: 14.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9398, allocations: 8.031 kB / 1.079 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.94, allocations: 118.6 kB / 1.079 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.9414, allocations: 241.9 kB / 1.079 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.9423, allocations: 0.5377 MB / 1.08 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.9424, allocations: 43.25 kB / 1.08 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.9425, allocations: 68.3 kB / 1.08 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.9439, allocations: 1.121 MB / 1.081 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.944, allocations: 11.88 kB / 1.081 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.944, allocations: 30.5 kB / 1.081 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/0.9441, allocations: 56.72 kB / 1.081 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.9452, allocations: 0.7299 MB / 1.082 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/0.9505, allocations: 5.914 MB / 1.087 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.9514, allocations: 0.557 MB / 1.088 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.9518, allocations: 318.1 kB / 1.088 GB, free: 5.352 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.9519, allocations: 8.438 kB / 1.088 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.9519, allocations: 39 kB / 1.088 GB, free: 5.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.9519, allocations: 4 kB / 1.088 GB, free: 5.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002249/0.9542, allocations: 1.225 MB / 1.089 GB, free: 4.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.9542, allocations: 59.84 kB / 1.09 GB, free: 3.973 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.9548, allocations: 487.4 kB / 1.09 GB, free: 3.492 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.539e-05/0.9548, allocations: 37.7 kB / 1.09 GB, free: 3.449 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.9551, allocations: 399.2 kB / 1.09 GB, free: 3.055 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.9552, allocations: 169.6 kB / 1.091 GB, free: 2.887 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.9552, allocations: 12 kB / 1.091 GB, free: 2.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9554, allocations: 374.8 kB / 1.091 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.9558, allocations: 261.5 kB / 1.091 GB, free: 2.242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.9564, allocations: 460.1 kB / 1.092 GB, free: 1.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.9569, allocations: 331.1 kB / 1.092 GB, free: 1.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9569, allocations: 0 / 1.092 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001628/0.9585, allocations: 1.052 MB / 1.093 GB, free: 324 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9585, allocations: 8 kB / 1.093 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9586, allocations: 4 kB / 1.093 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/0.9593, allocations: 271.5 kB / 1.093 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.9598, allocations: 123.8 kB / 1.093 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.9658, allocations: 6.572 MB / 1.1 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.9664, allocations: 43.91 kB / 1.1 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.9665, allocations: 32.12 kB / 1.1 GB, free: 8.727 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.0001506/0.9666, allocations: 142.5 kB / 1.1 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.9667, allocations: 75.16 kB / 1.1 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.9683, allocations: 0.8766 MB / 1.101 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9684, allocations: 12 kB / 1.101 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9684, allocations: 4 kB / 1.101 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9684, allocations: 0 / 1.101 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.9711, allocations: 1.709 MB / 1.103 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9711, allocations: 4 kB / 1.103 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.9714, allocations: 55.95 kB / 1.103 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/0.9722, allocations: 271.6 kB / 1.103 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.9723, allocations: 8 kB / 1.103 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/0.9783, allocations: 6.572 MB / 1.109 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9783, allocations: 7.875 kB / 1.109 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.98, allocations: 1.04 MB / 1.11 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.9805, allocations: 184.3 kB / 1.111 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.9806, allocations: 12 kB / 1.111 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.9809, allocations: 27.97 kB / 1.111 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.9811, allocations: 47.83 kB / 1.111 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.9811, allocations: 20 kB / 1.111 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004764/0.9816, allocations: 375.2 kB / 1.111 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.694e-06/0.9816, allocations: 0 / 1.111 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008831/0.9825, allocations: 239.9 kB / 1.111 GB, free: 12.32 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.002122/0.9846, allocations: 2.017 MB / 1.113 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.9866, allocations: 1.24 MB / 1.114 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9867, allocations: 0 / 1.114 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.9879, allocations: 0.8814 MB / 1.115 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.9889, allocations: 193.5 kB / 1.115 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.9911, allocations: 1.145 MB / 1.117 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.9917, allocations: 1.024 MB / 1.118 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.9922, allocations: 117.9 kB / 1.118 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.9925, allocations: 251.3 kB / 1.118 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.9925, allocations: 0 / 1.118 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/1.026, allocations: 16.22 MB / 1.134 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.026, allocations: 186.1 kB / 1.134 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.485, allocations: 4 kB / 1.134 GB, free: 4.973 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)