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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.84 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.0009791/0.000979, allocations: 172.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008387/0.0008388, allocations: 91.52 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.262e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7918/1.028, allocations: 175.8 MB / 1.057 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004751/1.029, allocations: 95.06 kB / 1.057 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07138/1.1, allocations: 28.51 MB / 1.085 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.1, allocations: 0 / 1.085 GB, free: 4.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.059e-05/1.1, allocations: 11.94 kB / 1.085 GB, free: 4.465 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001209/1.101, allocations: 0.6885 MB / 1.086 GB, free: 3.758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.101, allocations: 8.031 kB / 1.086 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/1.104, allocations: 0.5679 MB / 1.086 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/1.105, allocations: 483.9 kB / 1.087 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.105, allocations: 8 kB / 1.087 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/1.105, allocations: 20 kB / 1.087 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007082/1.106, allocations: 470.2 kB / 1.087 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/1.106, allocations: 0.5377 MB / 1.088 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.106, allocations: 3.938 kB / 1.088 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/1.106, allocations: 4 kB / 1.088 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/1.106, allocations: 23.95 kB / 1.088 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/1.11, allocations: 2.768 MB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/1.111, allocations: 351.2 kB / 1.091 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.111, allocations: 161.4 kB / 1.091 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.66e-05/1.111, allocations: 81.11 kB / 1.091 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.111, allocations: 38.06 kB / 1.091 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.516e-06/1.111, allocations: 3.984 kB / 1.091 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.003999/1.115, allocations: 1.529 MB / 1.092 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.115, allocations: 81.09 kB / 1.093 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/1.116, allocations: 326.4 kB / 1.093 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/1.116, allocations: 29.7 kB / 1.093 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.116, allocations: 242.7 kB / 1.093 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/1.116, allocations: 81.91 kB / 1.093 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/1.116, allocations: 0 / 1.093 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.116, allocations: 344.5 kB / 1.094 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/1.116, allocations: 242.1 kB / 1.094 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/1.117, allocations: 317.9 kB / 1.094 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/1.117, allocations: 299.7 kB / 1.094 GB, free: 12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.117, allocations: 4 kB / 1.094 GB, free: 12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002586/1.12, allocations: 1.052 MB / 1.095 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002937/1.12, allocations: 0.7914 MB / 1.096 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.12, allocations: 4 kB / 1.096 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.122, allocations: 488 kB / 1.097 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.123, allocations: 126.9 kB / 1.097 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.126, allocations: 3.005 MB / 1.1 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/1.127, allocations: 119.8 kB / 1.1 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.127, allocations: 15.8 kB / 1.1 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/1.127, allocations: 4 kB / 1.1 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007347/1.127, allocations: 456.2 kB / 1.1 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/1.127, allocations: 0 / 1.1 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/1.127, allocations: 4 kB / 1.1 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/1.128, allocations: 159.3 kB / 1.1 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.128, allocations: 7.938 kB / 1.1 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/1.129, allocations: 91.84 kB / 1.101 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.129, allocations: 19.94 kB / 1.101 GB, free: 6.316 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001392/1.129, allocations: 110.7 kB / 1.101 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00261/1.132, allocations: 1.045 MB / 1.102 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/1.132, allocations: 35.62 kB / 1.102 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.134, allocations: 1.106 MB / 1.103 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.134, allocations: 4.188 kB / 1.103 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.134, allocations: 0 / 1.103 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.134, allocations: 3.984 kB / 1.103 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/1.138, allocations: 1.717 MB / 1.104 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.138, allocations: 8.094 kB / 1.104 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/1.138, allocations: 87.02 kB / 1.105 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/1.141, allocations: 0.6149 MB / 1.105 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/1.141, allocations: 7.938 kB / 1.105 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/1.146, allocations: 4.203 MB / 1.109 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.146, allocations: 4.031 kB / 1.109 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/1.149, allocations: 1.161 MB / 1.11 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/1.149, allocations: 166.8 kB / 1.111 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/1.149, allocations: 3.984 kB / 1.111 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/1.15, allocations: 107.8 kB / 1.111 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.15, allocations: 27.52 kB / 1.111 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.15, allocations: 8 kB / 1.111 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003124/1.151, allocations: 261.3 kB / 1.111 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.151, allocations: 0 / 1.111 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000872/1.151, allocations: 199 kB / 1.111 GB, free: 12.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003467/1.155, allocations: 1.991 MB / 1.113 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001666/1.157, allocations: 0.9645 MB / 1.114 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.157, allocations: 4.188 kB / 1.114 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008269/1.157, allocations: 0.5572 MB / 1.115 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/1.158, allocations: 100.6 kB / 1.115 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.16, allocations: 0.8847 MB / 1.116 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.16, allocations: 0.9248 MB / 1.116 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007142/1.161, allocations: 219 kB / 1.117 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/1.161, allocations: 133.8 kB / 1.117 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.161, allocations: 4 kB / 1.117 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/1.2, allocations: 13.58 MB / 1.13 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.2, allocations: 159.6 kB / 1.13 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/3.278, allocations: 0 / 1.13 GB, free: 9.98 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)